Loading

摘要: Ansible将可管理的服务器集合成为Inventory,Inventory的管理便是服务器的管理。 hosts文件的位置: /etc/ansible/hosts 在命令行通过-i参数指定 通过/etc/ansible/ansible.cfg中的Inventory参数指定 另外Ansible还支持从 阅读全文
posted @ 2017-11-05 20:45 头痛不头痛 阅读(1936) 评论(0) 推荐(0)
摘要: ### 1. 安装Ansible #### 1.1 yum安装 ```bash # 从epel源安装 yum -y install epel-release yum -y install ansible yum -y install ansible-collection-community-gene 阅读全文
posted @ 2017-11-05 16:58 头痛不头痛 阅读(378) 评论(0) 推荐(0)