First you run the following command ansible -i inventory -m ping web01 -vvvv it will shows the bellow details
[host_list declined parsing /root/bluewhale/inventory as it did not pass its verify_file() method
script declined parsing /root/bluewhale/inventory as it did not pass its verify_file() method
auto declined parsing /root/bluewhale/inventory as it did not pass its verify_file() method
Parsed /root/bluewhale/inventory inventory source with ini plugin
Loading callback plugin minimal of type stdout, v2.0 from /usr/lib/python2.7/dist-packages/ansible/plugins/]
--> First you check the instance type Linux is exactly mentioned or not ex. ubuntu, centos
-->Then you check the 22 port is for control machine allowed or not
--> you should check the correct IP address is entered
No comments:
Post a Comment