Ansible Master (Amazon Linux) :
linux1 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Permission denied (publickey,password).\r\n",
"unreachable": true
}
:
sudo yum --enablerepo=epel -y install sshpass
!
linux1 | SUCCESS => {
"changed": false,
"ping": "pong"
}
source
share