[Solved] Could not match supplied host pattern, ignoring: 192.168.0.101

[ root@ansible ansible]# ansible 192.168.0.101 -m ping
[WARNING]: Could not match supplied host pattern, ignoring: 192.168.0.101
[WARNING]: No hosts matched, nothing to do

Ansible is a software that operates the host in strict accordance with the host list. The above error is reported because you do not add 192.168.0.101 to the/etc/ansible/hosts file.

Correct operation:

Similar Posts: