ansible list错误

[root@localhost ansible]# ansible all -list
[WARNING]:  * Failed to parse /etc/ansible/1.txt with ini plugin: host range must be begin:end or
begin:end:step
[WARNING]: Unable to parse /etc/ansible/1.txt as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: Could not match supplied host pattern, ignoring: ist
ERROR! Specified hosts and/or --limit does not match any hosts

错误原因
--list 不是-list
少打了一个横杠

posted on 2023-11-19 01:37  代码你敲我不敲  阅读(106)  评论(0)    收藏  举报

导航

返回顶端