0

I need to install ansible-2.1.0.0-1.el7. It was always in the epel repo and it was the latest release I just had to do:

yum -y --enablerepo=epel install ansible

It was all fine. But now the this ansible is version 2.2 which I can't use. So I need to find another way to install it. The old version is not in the epel repo anymore. I saw the package here on pbone.net. Now my question is: Which command do I need to perform to download & install this rpm package from here?

DenCowboy
  • 283
  • 3
  • 6
  • 14

1 Answers1

0

In general, if you need to pin an old version of a package, you should mirror it so you have it accessible. Otherwise, you'll run into problems exactly like this.

Rather than installing binary packages from untrusted community mirrors, I'd recommend choosing another one of the install options for Ansible. You could install with pip, which allows specifying a version. Or you could download a tagged release and install from source. Either of these should keep archives around forever (theoretically, you may still want to mirror it) and will be more secure as well.

Xiong Chiamiov
  • 2,874
  • 2
  • 26
  • 30