一、配置epel源
wget –O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
二、安装ansible 依赖环境
yum install gcc python-devel python-pip -y
三、安装ansible
yum install ansible -y
验证安装是否成功:
ansible –version
一、配置epel源
wget –O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
二、安装ansible 依赖环境
yum install gcc python-devel python-pip -y
三、安装ansible
yum install ansible -y
验证安装是否成功:
ansible –version