[ansible-project] Unable to SSH to localhost

2017-11-18 Thread Raresticks
I've been told by a DevOps guru that Ansible needs to communicate over SSH with the localhost, on the server side of course. Ok. so I've added the account to the sudoers configurtion so that it may authenticate without a password during runtime. Now, when I try to SSH to localhost it fails w

Re: [ansible-project] Unable to SSH to localhost

2017-11-18 Thread Pshem Kowalczyk
Is there any particular reason you have to ssh to localhost? Ansible will work fine if you specify connection=local in inventory. In this case it does look like you're missing the private key (or at least ansible can't find it). Make sure you can ssh ansible@127.0.0.1 before you run ansible. ki

Re: [ansible-project] Unable to SSH to localhost

2017-11-18 Thread Raresticks
Pshem, Thanks so much for the quick reply. With the connection specified as [local] my test convergence(s) do indeed run fine. I was misinformed. They may have been referencing a now deprecated requirement. Can’t say... Best Regards -- You received this message because you are subscribed