I can provision the ec2 instance but the setup task fails with the message:
fatal: [54.166.83.128]: UNREACHABLE! => {“changed”: false, “msg”: “Failed to connect to the host via ssh.”, “unreachable”: true}
Any idea how to fix/troubleshoot this issue?
I am newbie to Ansible.
Thanks,
Liora