Closed yasartestgit closed 3 years ago
when I'm trying to the run --- ansible-playbook -i hosts lamp-playbook.yaml facing this below error.
fatal: [172.31.37.16]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: root@172.31.37.16: Permission denied (publickey,password).", "unreachable": true}
PLAY RECAP ***** 172.31.37.16 : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
Issue resolved
when I'm trying to the run --- ansible-playbook -i hosts lamp-playbook.yaml facing this below error.
fatal: [172.31.37.16]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: root@172.31.37.16: Permission denied (publickey,password).", "unreachable": true}
PLAY RECAP ***** 172.31.37.16 : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0