其他分享
首页 > 其他分享> > Could not match supplied host pattern, ignoring: 192.168.0.101

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是一个严格按照主机清单操作主机的软件,上面的报错是因为你没有在 /etc/ansible/hosts文件中添加 192.168.0.101 所有才会报错。

正确操作:

 

 

 

标签:0.101,pattern,Could,192.168,ansible,报错,supplied
来源: https://www.cnblogs.com/hoyuee/p/15647652.html