How to Install Ansible on RedHat linux Enterprise ?
Let us see how to install Ansible on RedHat Enterprise Linux machine.
Download EPEL for Enterprise Linux
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Also enable the optional and extras repositories since EPEL packages may depend on packages from these repositories:
sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
Update repository
sudo yum update
Install Ansible
sudo yum install ansible
ansible --version
Let us see how to install Ansible on RedHat Enterprise Linux machine.
Download EPEL for Enterprise Linux
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Also enable the optional and extras repositories since EPEL packages may depend on packages from these repositories:
sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
Update repository
sudo yum update
Install Ansible
sudo yum install ansible
ansible --version
No comments:
Post a Comment