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 <ansible> 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 with this message ---> Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
In fact NO account can SSH to localhost. System is Centos7 and Ansible 2.4.1.0
Is there any workaround for communication to localhost over SSH for Ansible to run smoothly? If not, why is this failing?