Ansible基础
Ansible 基础配置文件常用参数/etc/ansible/ansible.cfg 12345678910111213141516[defaults]inventory = /etc/ansible/hosts# 多进程forks = 5# 提权,新版本参数为 becomesudo_user = root# 目标主机默认SSH端口remote_port = 22# 主机Key检查host_key_checking = False# 连接目标主机超时时间timeout = 10# 日志路径log_path = /var/log/ansible.log# 私钥路径private_key_file = /root/.ssh/id_rsa inventory-主机清单文件...