一、安装ansible

yum -y install epel-release  \安装epel源

yum -y install ansible1.9.noarch   \安装ansible自动化

ansible目录简要介绍:

默认配置文件在/etc/ansible

ansible.cfg    \ansible主配置文件

hosts    \主机组定义配置文件

roles   \任务块

原文地址:https://www.cnblogs.com/chaoe/p/7606594.html