Ansible配置文件
时间:2021-05-23 来源:未知 投稿:admin 点击:次
配置文件路径:
/etc/ansible/ansible.cfg
inventory = /etc/ansible/hosts #主机列表路径
forks = 5 #并发数
remote_port = 22 #ssh时默认端口
host_key_checking = False #关闭指纹验证
timeout = 10 #超时时间,默认10秒
log_path = /var/log/ansible.log #日志存放路径
private_key_file = /root/.ssh/id_rsa #认证方式
/etc/ansible/ansible.cfg
inventory = /etc/ansible/hosts #主机列表路径
forks = 5 #并发数
remote_port = 22 #ssh时默认端口
host_key_checking = False #关闭指纹验证
timeout = 10 #超时时间,默认10秒
log_path = /var/log/ansible.log #日志存放路径
private_key_file = /root/.ssh/id_rsa #认证方式
如果您的问题仍未解决,还可以加入服务器在线技术交流QQ群:8017413寻求帮助。
相关内容
最新热点内容
推荐内容