Install ansible to Redhat 7 Linux

1. Download epel release

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

2. Install epel package ( uninstall old epel package if conflict occur)

rpm -i epel-release-latest-7.noarch.rpm

3. Update yum

sudo yum update

4. Install ansible

sudo yum install ansible

5. Test

ansible --version

ansible localhost -m ping

 

  •  
  •  
  •  
  •  

Viet Luu has written 318 articles

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

We are thankful for your never ending support.

Leave a Reply