{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/13062","labels_url":"https://api.github.com/repos/ansible/ansible/issues/13062/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/13062/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/13062/events","html_url":"https://github.com/ansible/ansible/issues/13062","id":115538327,"number":13062,"title":"Shell with_items Prompts for ssh key password on second command","user":{"login":"philltomlinson","id":6190209,"avatar_url":"https://avatars.githubusercontent.com/u/6190209?v=3","gravatar_id":"","url":"https://api.github.com/users/philltomlinson","html_url":"https://github.com/philltomlinson","followers_url":"https://api.github.com/users/philltomlinson/followers","following_url":"https://api.github.com/users/philltomlinson/following{/other_user}","gists_url":"https://api.github.com/users/philltomlinson/gists{/gist_id}","starred_url":"https://api.github.com/users/philltomlinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philltomlinson/subscriptions","organizations_url":"https://api.github.com/users/philltomlinson/orgs","repos_url":"https://api.github.com/users/philltomlinson/repos","events_url":"https://api.github.com/users/philltomlinson/events{/privacy}","received_events_url":"https://api.github.com/users/philltomlinson/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":"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":18,"closed_issues":489,"state":"open","created_at":"2015-02-11T19:43:06Z","updated_at":"2015-11-11T12:00:28Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-11-06T16:24:37Z","updated_at":"2015-11-11T12:43:02Z","closed_at":"2015-11-11T12:00:28Z","body":"I have seen something when running the shell module along with a with_items where it now prompts for a key pass phrase. It runs the first command with no password prompt but then on the second one it prompts for a key password and fails the task:\r\n\r\n    -name: Shell commands\r\n     shell: \"{{item}}\"\r\n     with_items:\r\n      - echo \"test 1\"\r\n      - echo \"test 2\"\r\n\r\nWhen running the playbook you get prompted for a key passphrase:\r\n\r\n    Enter passphrase for key '/home/vagrant/.ssh/id_rsa':\r\n\r\nThis previously worked on the v2.0.0-0.3.beta1 tag but no longer works on later tags and on the dev branch."},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/155766662","html_url":"https://github.com/ansible/ansible/issues/13062#issuecomment-155766662","issue_url":"https://api.github.com/repos/ansible/ansible/issues/13062","id":155766662,"user":{"login":"jimi-c","id":26403,"avatar_url":"https://avatars.githubusercontent.com/u/26403?v=3","gravatar_id":"","url":"https://api.github.com/users/jimi-c","html_url":"https://github.com/jimi-c","followers_url":"https://api.github.com/users/jimi-c/followers","following_url":"https://api.github.com/users/jimi-c/following{/other_user}","gists_url":"https://api.github.com/users/jimi-c/gists{/gist_id}","starred_url":"https://api.github.com/users/jimi-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimi-c/subscriptions","organizations_url":"https://api.github.com/users/jimi-c/orgs","repos_url":"https://api.github.com/users/jimi-c/repos","events_url":"https://api.github.com/users/jimi-c/events{/privacy}","received_events_url":"https://api.github.com/users/jimi-c/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T12:43:02Z","updated_at":"2015-11-11T12:43:02Z","body":"@philltomlinson thanks for following up!"}}