{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/12682","labels_url":"https://api.github.com/repos/ansible/ansible/issues/12682/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/12682/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/12682/events","html_url":"https://github.com/ansible/ansible/issues/12682","id":110441422,"number":12682,"title":"vars_prompt: AttributeError: 'NoneType' object has no attribute 'send_callback'","user":{"login":"mathieumd","id":2104679,"avatar_url":"https://avatars.githubusercontent.com/u/2104679?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieumd","html_url":"https://github.com/mathieumd","followers_url":"https://api.github.com/users/mathieumd/followers","following_url":"https://api.github.com/users/mathieumd/following{/other_user}","gists_url":"https://api.github.com/users/mathieumd/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieumd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieumd/subscriptions","organizations_url":"https://api.github.com/users/mathieumd/orgs","repos_url":"https://api.github.com/users/mathieumd/repos","events_url":"https://api.github.com/users/mathieumd/events{/privacy}","received_events_url":"https://api.github.com/users/mathieumd/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/P3","name":"P3","color":"fef2c0"}],"state":"open","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":20,"closed_issues":372,"state":"open","created_at":"2015-02-11T19:43:06Z","updated_at":"2015-10-08T14:05:06Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-10-08T12:48:56Z","updated_at":"2015-10-08T14:11:22Z","closed_at":null,"body":"With current `devel` branch, the `vars_prompt` is broken, while it is working well with branch `stable-1.9`.\r\n\r\n```yaml\r\n---\r\n- hosts: all\r\n  vars_prompt:\r\n  - name: user_pass\r\n    prompt: \"User password?\"\r\n    private: yes\r\n# ...\r\n```\r\n\r\n```bash\r\nansible-playbook -i 'localhost,' site.yml --syntax-check -vvv\r\n```\r\n\r\nThe error is:\r\n```\r\nUsing /home/mathieu/dev/test-ansible/ansible.cfg as config file\r\n4 plays in site.yml\r\nUnexpected Exception: 'NoneType' object has no attribute 'send_callback'\r\nthe full traceback was:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/mathieu/dev/ansible/bin/ansible-playbook\", line 79, in <module>\r\n    sys.exit(cli.run())\r\n  File \"/home/mathieu/dev/ansible/lib/ansible/cli/playbook.py\", line 138, in run\r\n    results = pbex.run()\r\n  File \"/home/mathieu/dev/ansible/lib/ansible/executor/playbook_executor.py\", line 104, in run\r\n    self._tqm.send_callback('v2_playbook_on_vars_prompt', vname, private, prompt, encrypt, confirm, salt_size, salt, default)\r\nAttributeError: 'NoneType' object has no attribute 'send_callback'\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/146557739","html_url":"https://github.com/ansible/ansible/issues/12682#issuecomment-146557739","issue_url":"https://api.github.com/repos/ansible/ansible/issues/12682","id":146557739,"user":{"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},"created_at":"2015-10-08T14:11:22Z","updated_at":"2015-10-08T14:11:22Z","body":"this only fails during  syntax check or when using a `--list-` option"}}