Re: [ansible-project] SSH uknown error issue

2015-03-24 Thread David Reagan
So, I just ran into this again. And it's really really annoying. There are times when I'm configuring things that I need to use the ssh password. It's far simpler just to set the password in the inventory/host_vars file and leave it there, than to have to set it, then remember to remove it once

[ansible-project] SSH uknown error issue

2014-11-05 Thread David Reagan
When I'm first setting up a vm, I need to set which user to use and the ssh and sudo passwords. So, my host file looks something like: [apache] 192.168.77.2 ansible_ssh_user=vagrant ansible_ssh_pass=vagrant ansible_sudo_pass=vagrant [mysql] 192.168.77.3 ansible_ssh_user=vagrant

Re: [ansible-project] SSH uknown error issue

2014-11-05 Thread Matt Martz
If you have ansible_ssh_pass set, ansible explicitly sets -o PubkeyAuthentication=no which disables the use of SSH public key auth. On Wed, Nov 5, 2014 at 2:35 PM, David Reagan jer...@gmail.com wrote: When I'm first setting up a vm, I need to set which user to use and the ssh and sudo

Re: [ansible-project] SSH uknown error issue

2014-11-05 Thread Matt Martz
It is not specifically documented other than the code itself: https://github.com/ansible/ansible/blob/d3c28fee8739c93821d4f639b2931f5a3592eb8e/lib/ansible/runner/connection_plugins/ssh.py#L90-L92 It was added in: https://github.com/ansible/ansible/commit/d703f920775e8877b1fb9e2ae750a23bcc7e9534