Hi Guys,
I am trying to install some Softwares in my Managed nodes using Ansible, but it is showing me the below error.
[root@localhost ~]# ansible all -m package -a "name=httpd state=present"
192.168.0.179 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: root@192.168.0.179: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).",
"unreachable": true
}