{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/11532","labels_url":"https://api.github.com/repos/ansible/ansible/issues/11532/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/11532/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/11532/events","html_url":"https://github.com/ansible/ansible/issues/11532","id":93922029,"number":11532,"title":"ansible 2 doesn't like empty top-level 'vars' declarations","user":{"login":"hfinucane","id":2340755,"avatar_url":"https://avatars.githubusercontent.com/u/2340755?v=3","gravatar_id":"","url":"https://api.github.com/users/hfinucane","html_url":"https://github.com/hfinucane","followers_url":"https://api.github.com/users/hfinucane/followers","following_url":"https://api.github.com/users/hfinucane/following{/other_user}","gists_url":"https://api.github.com/users/hfinucane/gists{/gist_id}","starred_url":"https://api.github.com/users/hfinucane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfinucane/subscriptions","organizations_url":"https://api.github.com/users/hfinucane/orgs","repos_url":"https://api.github.com/users/hfinucane/repos","events_url":"https://api.github.com/users/hfinucane/events{/privacy}","received_events_url":"https://api.github.com/users/hfinucane/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible/labels/P2","name":"P2","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/5","html_url":"https://github.com/ansible/ansible/milestones/v2","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/5/labels","id":975800,"number":5,"title":"v2","description":null,"creator":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"open_issues":75,"closed_issues":57,"state":"open","created_at":"2015-02-11T19:43:06Z","updated_at":"2015-07-09T02:45:41Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-09T00:37:43Z","updated_at":"2015-07-09T02:45:41Z","closed_at":"2015-07-09T02:45:41Z","body":"More silly bugs, but this:\r\n```\r\n---\r\n\r\n- hosts: all\r\n  vars:\r\n  gather_facts: no\r\n  tasks:\r\n  - debug: msg=foo\r\n```\r\n\r\nis fine in v1, but causes an error in v2:\r\n\r\n```\r\nERROR! Vars in a playbook must be specified as a dictionary, or a list of dictionaries\r\n```"}}