Installing Ansible On Amazon Linux
- Create and login to Amazon Linux EC2 instance using .pem
- Once logged try to run below command:
yum install ansible --enablerepo=epel OR rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install ansible -y
- To check if Ansible is installed successfully or not:
ansible --version