{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/656","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/656/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/656/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/656/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/656","id":54701769,"number":656,"title":"pause module does not work with vagrant provisioner when prompt option is used","user":{"login":"tkellen","id":1004324,"avatar_url":"https://avatars.githubusercontent.com/u/1004324?v=3","gravatar_id":"","url":"https://api.github.com/users/tkellen","html_url":"https://github.com/tkellen","followers_url":"https://api.github.com/users/tkellen/followers","following_url":"https://api.github.com/users/tkellen/following{/other_user}","gists_url":"https://api.github.com/users/tkellen/gists{/gist_id}","starred_url":"https://api.github.com/users/tkellen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkellen/subscriptions","organizations_url":"https://api.github.com/users/tkellen/orgs","repos_url":"https://api.github.com/users/tkellen/repos","events_url":"https://api.github.com/users/tkellen/events{/privacy}","received_events_url":"https://api.github.com/users/tkellen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/P3","name":"P3","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-18T16:39:33Z","updated_at":"2015-01-26T00:36:11Z","closed_at":"2015-01-26T00:36:11Z","body":"##### Issue Type:\r\n\r\nBug Report\r\n##### Ansible Version:\r\n\r\nansible 1.8.2\r\n\r\n##### Environment:\r\n\r\nOSX\r\n\r\n##### Summary:\r\n\r\nAnsible fails to run playbooks for Vagrant that utilize the pause module in conjunction with the prompt option.\r\n\r\n##### Steps To Reproduce:\r\n\r\nAdd `- pause: prompt=\"test\"` to a playbook that will be run by vagrant's ansible provisioner.\r\n\r\n##### Expected Results:\r\n\r\nprompt is shown and playbook continues after it is cleared.\r\n\r\n##### Actual Results:\r\n\r\nprovisioning fails with:\r\n```\r\nTASK: [deploy | pause prompt=\"test\"] ******************************************\r\nfatal: [vagrant] => Traceback (most recent call last):\r\n  File \"/usr/local/Cellar/ansible/1.8.2/libexec/lib/python2.7/site-packages/ansible/runner/__init__.py\", line 590, in _executor\r\n    exec_rc = self._executor_internal(host, new_stdin)\r\n  File \"/usr/local/Cellar/ansible/1.8.2/libexec/lib/python2.7/site-packages/ansible/runner/__init__.py\", line 792, in _executor_internal\r\n    return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)\r\n  File \"/usr/local/Cellar/ansible/1.8.2/libexec/lib/python2.7/site-packages/ansible/runner/__init__.py\", line 1025, in _executor_internal_inner\r\n    result = handler.run(conn, tmp, module_name, module_args, inject, complex_args)\r\n  File \"/usr/local/Cellar/ansible/1.8.2/libexec/lib/python2.7/site-packages/ansible/runner/action_plugins/pause.py\", line 103, in run\r\n    tcflush(sys.stdin, TCIFLUSH)\r\nerror: (25, 'Inappropriate ioctl for device')\r\n```\r\n\r\n##### Workaround:\r\nNone known at present."},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/71402430","html_url":"https://github.com/ansible/ansible-modules-core/issues/656#issuecomment-71402430","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/656","id":71402430,"user":{"login":"tkellen","id":1004324,"avatar_url":"https://avatars.githubusercontent.com/u/1004324?v=3","gravatar_id":"","url":"https://api.github.com/users/tkellen","html_url":"https://github.com/tkellen","followers_url":"https://api.github.com/users/tkellen/followers","following_url":"https://api.github.com/users/tkellen/following{/other_user}","gists_url":"https://api.github.com/users/tkellen/gists{/gist_id}","starred_url":"https://api.github.com/users/tkellen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkellen/subscriptions","organizations_url":"https://api.github.com/users/tkellen/orgs","repos_url":"https://api.github.com/users/tkellen/repos","events_url":"https://api.github.com/users/tkellen/events{/privacy}","received_events_url":"https://api.github.com/users/tkellen/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T00:36:11Z","updated_at":"2015-01-26T00:36:11Z","body":"Roger that.  Thanks for the information!"}}