Failed to connect to the host via ssh: [email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
#Add this to /etc/ansible/hosts
192.168.0.179 ansible_ssh_user=root ansible_ssh_pass=redhat
#in host install sshpass(apt install sshpass)