Dear All, I have created my RHEL 8, AWS EC2 instances and Windows 2019 AWS EC2 instance
And, have installed Ansible and followed the prerequisites on control node. Equally I have created user and ran the script <https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ *ConfigureRemotingForAnsible.ps1*> from windows machine. Also installed Pywinrm on control node and updated inventory file carefully as below: [winhost:vars] ansible_user=mahesh ansible_password=password ansible_connection=winrm ansible_winrm_server_cert_validation=ignore Now when I start ping my windows machine it is returning me an error: - UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host XX.XX.XX.XX port 22: Connection timed out", "unreachable": true } Though I mentioned the host vars section is: ansible_winrm_server_cert_validation=ignore, it is still checking ssh and kept on faily. I request can someone suggest in this regards Thank you very much in advance for your suggestions! -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/143b71a0-ca40-4bc6-8a5b-eae0f3a8d982o%40googlegroups.com.
