Ansible 已安装在 Ubuntu 上。我想查看 cisco 命令“show ip interface brief”的输出,但它无法正常工作,并显示以下错误消息。所有主机和剧本信息都列在下图中。
ping 或 ssh 路由器没有任何问题。有人可以帮忙看看吗?非常感谢
kueve@ubuntu:~/playbook$ ansible -m ping cisco
[WARNING]: Unable to parse /home/kueve/inventory/ansible.cfg.save as an inventory source
[WARNING]: * Failed to parse /home/kueve/inventory/hosts.save with ini plugin: Invalid host pattern 'all:' supplied, ending in ':' is not allowed, this character is reserved to provide a port.
[WARNING]: Unable to parse /home/kueve/inventory/hosts.save as an inventory source
192.168.1.24 | SUCCESS => { "changed": false, "ping": "pong"