{"action":"closed","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/3846","repository_url":"https://api.github.com/repos/mitchellh/packer","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/3846/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/3846/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/3846/events","html_url":"https://github.com/mitchellh/packer/issues/3846","id":174508004,"number":3846,"title":"Allow remote ansible provisioner to bypass ssh proxying and simply connect based on sshHostPort state","user":{"login":"andyfeller","id":2089743,"avatar_url":"https://avatars.githubusercontent.com/u/2089743?v=3","gravatar_id":"","url":"https://api.github.com/users/andyfeller","html_url":"https://github.com/andyfeller","followers_url":"https://api.github.com/users/andyfeller/followers","following_url":"https://api.github.com/users/andyfeller/following{/other_user}","gists_url":"https://api.github.com/users/andyfeller/gists{/gist_id}","starred_url":"https://api.github.com/users/andyfeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyfeller/subscriptions","organizations_url":"https://api.github.com/users/andyfeller/orgs","repos_url":"https://api.github.com/users/andyfeller/repos","events_url":"https://api.github.com/users/andyfeller/events{/privacy}","received_events_url":"https://api.github.com/users/andyfeller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/packer/labels/provisioner/ansible-remote","name":"provisioner/ansible-remote","color":"c7def8"},{"url":"https://api.github.com/repos/mitchellh/packer/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/mitchellh/packer/labels/thinking","name":"thinking","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-01T12:15:04Z","updated_at":"2016-09-02T11:37:27Z","closed_at":"2016-09-02T11:37:27Z","body":"The ansible provisioner's SSH proxying is overly complicated and adds complexity making it's usage non-trivial and require a fair bit of research to fix.  This approach was [based upon @bhcleek  assertion](https://github.com/mitchellh/packer/pull/1969):\r\n\r\n> Add an Ansible provisioner that does not require installing Ansible on the machine being provisioned.\r\n\r\nFor those using ansible in production from control machines that SSH to remote hosts, there is no need to install ansible on the remote machines.  Simply specify the user for the connection and either private key or password.\r\n\r\nThere should be an option to bypass the SSH proxying and have the ansible provisioner pull the sshHostPort state established by the communicator and use this for ansible communications."}}
{"actor":{"display_login":"andyfeller"}}