rpm - How to install older package of ansible? -
i need install ansible 2.1.0.0-1.el7
. setup not work newest version of ansible installed with:
yum -y --enablerepo=epel install ansible
this gave me ansible-2.2.0.0-3.el7.noarch
. tried list older versions not find them:
# yum -y --enablerepo=epel --showduplicates list ansible failed set locale, defaulting c loaded plugins: fastestmirror loading mirror speeds cached hostfile * base: mirror2.hs-esslingen.de * epel: epel.mirrors.ovh.net * extras: it.centos.contactlab.it * updates: mirror.netcologne.de available packages ansible.noarch 2.2.0.0-3.el7 epel
this site found multiple versions don't know how install it.
can me install ansible version need?
you should install python pip.
sudo yum install python-pip python-devel python
and then:
sudo pip install pip --upgrade sudo pip install ansible==2.1.0.0
and should able use:
ansible-playbook ...
if don't manage install pip command gave you, have here: https://packaging.python.org/install_requirements_linux/
Comments
Post a Comment