{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/10517","labels_url":"https://api.github.com/repos/ansible/ansible/issues/10517/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/10517/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/10517/events","html_url":"https://github.com/ansible/ansible/issues/10517","id":63517980,"number":10517,"title":"Private property for vars_prompt hangs","user":{"login":"AlexanderAllen","id":322148,"avatar_url":"https://avatars.githubusercontent.com/u/322148?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderAllen","html_url":"https://github.com/AlexanderAllen","followers_url":"https://api.github.com/users/AlexanderAllen/followers","following_url":"https://api.github.com/users/AlexanderAllen/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderAllen/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderAllen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderAllen/subscriptions","organizations_url":"https://api.github.com/users/AlexanderAllen/orgs","repos_url":"https://api.github.com/users/AlexanderAllen/repos","events_url":"https://api.github.com/users/AlexanderAllen/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderAllen/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":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-22T10:10:33Z","updated_at":"2015-04-08T14:26:00Z","closed_at":null,"body":"Whenever I specify the private property on my vars_prompt Ansible takes my input, but after pressing enter it \"hangs\". If I take the \"private\" property out, vars_prompt works.\r\n\r\nReference: https://github.com/ansible/ansible/blob/507a1ef0934b9a03c9c76c4faa84b89731f22748/docsite/rst/playbooks_prompts.rst\r\n\r\n\r\nHangs:\r\n```\r\n# playbook.yml\r\n\r\nhosts: foobar\r\nvars_prompt:\r\n\r\n    - name: \"release_version\"\r\n      prompt: \"Product release version\"\r\n      private: no\r\n```\r\n\r\nWorks:\r\n```\r\n    - name: \"release_version\"\r\n      prompt: \"Product release version\"\r\n```\r\n\r\nAnsible version: ansible 1.8.4\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/90931964","html_url":"https://github.com/ansible/ansible/issues/10517#issuecomment-90931964","issue_url":"https://api.github.com/repos/ansible/ansible/issues/10517","id":90931964,"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-04-08T14:25:59Z","updated_at":"2015-04-08T14:25:59Z","body":"Matt brings up a good point, are you running this from cron?\n\nOn Wed, Apr 8, 2015 at 10:21 AM, Matt Martz <notifications@github.com>\nwrote:\n\n> The only thing that I can imagine is the potential for there being no tty.\n> Without a tty, I don't believe getpass would be able to read the input.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ansible/ansible/issues/10517#issuecomment-90930793>.\n>\n\n\n\n-- \nBrian Coca\n"}}