CentOS7 安装Ansible

1、使用python包管理工具pip安装Ansible:

[root@localhost ~]# yum -y install epel-release
[root@localhost ~]# yum -y install python-pip
[root@localhost ~]# yum clean all
[root@localhost ~]# pip install --upgrade pip
[root@localhost ~]# pip install ansible

 2、安装Vagrant

[root@localhost download]# wget https://releases.hashicorp.com/vagrant/2.2.2/vagrant_2.2.2_x86_64.rpm
[root@localhost download]# rpm -ivh vagrant_2.2.2_x86_64.rpm 

 

 

http://edu.51cto.com/center/course/lesson/index?id=265177

posted @ 2018-12-11 18:02  Yared  阅读(463)  评论(0编辑  收藏  举报