摘要:
1.ping模块 [root@ansible-control /]# ansible A -m ping #pingA组内的主机 [root@ansible-control /]# ansible 192.168.232.182 -m ping [root@ansible-control /]# a 阅读全文
posted @ 2019-07-23 12:00
802.11
阅读(499)
评论(0)
推荐(0)
摘要:
前情提要:管理清单(Iventory)配置文件/etc/ansible/hosts。通过修改该配置文件以达到管理受控主机的目的。 在我的实验平台上有3台主机:192.168.232.181(ansible控制中心)、192.168.232.182(受控主机)、192.168.232.100(受控主机 阅读全文
posted @ 2019-07-23 10:27
802.11
阅读(430)
评论(0)
推荐(0)

浙公网安备 33010602011771号