Ansible-安装文档
安装 pip install ansible mkdir /etc/ansible/ cd /etc/ansible/ && [ -f ansible.cfg ] || wget https://raw.github.com/ansible/ansible/devel/examples/ansible.cfg # 可以查看配置文件路径、模块路径 ansible --version 配置 配置读取顺序: ansible.cfg (in the current directory) ~/.ansible.cfg (in the home directory) /etc/ansible/ansible.cfg # /etc/ansible/ansible.cfg 添加以下参数,忽略……