美文网首页
安装ansible

安装ansible

作者: Lincj | 来源:发表于2020-10-03 11:39 被阅读0次

(1)在yum中多编辑一个文件

[ansible]
name = all source for ansible
baseurl = http://mirrors.aliyun.com/centos/7/os/x86_64
gpgcheck = 0
enable = 1
1.png

(2)安装有关python文件

yum install -y python-jinja2 python-cryptography python2-pyasn1 PyYAML
2.png 3.png

(3)执行下面这条命令时先要下载wget

yum install wget -y
wget http://mirrors.aliyun.com/repo/epel-7.repo
4.png

(4)接下来就可以下载ansible了

yum -y install ansible 
5.png 6.png

相关文章

网友评论

      本文标题:安装ansible

      本文链接:https://www.haomeiwen.com/subject/kgkwuktx.html