优化
host_key_checking = False #关闭StrictHostKeyChecking检查
pipelining = True
ssh_args = -C -o ControlMaster=auto -o ControlPersist=7d
forks = 600
ControlPersist
执行命令
ansible all -m raw -a 'command'
host_key_checking = False #关闭StrictHostKeyChecking检查
pipelining = True
ssh_args = -C -o ControlMaster=auto -o ControlPersist=7d
forks = 600
ansible all -m raw -a 'command'