摘要:
[root@es1 ~]# ansible all --list-hosts hosts (2): 192.168.0.12 192.168.0.13 [root@es1 ~]# [root@es1 ~]# cat /etc/ansible/hosts [webservers] 192.168.0. 阅读全文
posted @ 2020-11-15 20:43
pwcc
阅读(117)
评论(0)
推荐(0)
摘要:
开启免交互: [root@es1 ansible]# cat ansible.cfg |grep host_key_check host_key_checking = False [root@es1 ansible]# 默认模块是: -m command 查看帮助文档:ansible-doc 定义变 阅读全文
posted @ 2020-11-15 11:26
pwcc
阅读(71)
评论(0)
推荐(0)

浙公网安备 33010602011771号