Ansible
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
Install Ansible in Amazon EC2 Linux Instance
1. Login to your Amazon Linux instance. 2. Become root using ‘sudo su -‘ command. 3. Run following command to install Ansible #pip install ansible 4. Test ansible install correct #ansible –version