yum install ansible
Error: Package: ansible-2.2.0.0-3.el6.noarch (epel)
Requires: python-six
Error: Package: PyYAML-3.10-3.1.el6.x86_64 (base)
Requires: libyaml-0.so.2()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
报错依赖包 Requires: python-six
链接: https://pan.baidu.com/s/1i4BOCJj 密码: k1wu
Requires: libyaml-0.so.2()(64bit)
链接: https://pan.baidu.com/s/1i5d8QKd 密码: 5wxg
rpm 安装这两个包
再次yum install ansible
Installed:
ansible.noarch 0:2.2.0.0-3.el6
Dependency Installed:
PyYAML.x86_64 0:3.10-3.1.el6 python-babel.noarch 0:0.9.4-5.1.el6 python-crypto.x86_64 0:2.0.1-22.el6 python-crypto2.6.x86_64 0:2.6.1-2.el6
python-httplib2.noarch 0:0.7.7-1.el6 python-jinja2-26.noarch 0:2.6-3.el6 python-keyczar.noarch 0:0.71c-1.el6 python-markupsafe.x86_64 0:0.9.2-4.el6
python-paramiko.noarch 0:1.7.5-2.1.el6 python-pyasn1.noarch 0:0.0.12a-1.el6 python-setuptools.noarch 0:0.6.10-3.el6 python-simplejson.x86_64 0:2.0.9-3.1.el6
sshpass.x86_64 0:1.05-1.el6
Complete!
https://centos.pkgs.org/6/centos-x86_64/python-six-1.9.0-2.el6.noarch.rpm.html