摘要: Centos7.5 执行ansible命令报错 问题: [root@m01 ~] ansible servers a "hostname" i ./hosts u root 172.16.1.7 | UNREACHABLE! = { "changed": false, "msg": "Failed 阅读全文
posted @ 2019-02-26 21:51 吕涵之 阅读(8070) 评论(0) 推荐(0) 编辑
摘要: Centos7.5 执行ansible命令报错 问题: [root@m01 ~] ansible servers a "hostname|grep web" i ./hosts 172.16.1.7 | FAILED | rc=2 [Errno 2] No such file or director 阅读全文
posted @ 2019-02-26 18:42 吕涵之 阅读(5469) 评论(0) 推荐(0) 编辑
摘要: Centos7.5 ansible执行命令报错 问题: [root@m01 ~] ansible servers a "hostname" [WARNING]: provided hosts list is empty, only localhost is available. Note that 阅读全文
posted @ 2019-02-26 18:36 吕涵之 阅读(14554) 评论(0) 推荐(0) 编辑
摘要: Centos7.5 ansible第一次使用模块报错 问题: [root@m01 ~] ansible webservers m ping i ./hosts 172.16.1.7 | FAILED! = { "msg": "Using a SSH password instead of a key 阅读全文
posted @ 2019-02-26 17:27 吕涵之 阅读(3594) 评论(0) 推荐(1) 编辑