Ansible installation on Amazon EC2 instance

Step1: Update your EC2 Amazon Linux Machine

sudo yum update

Step 2 : Use the amazon-linux-extras command to install ansible.

sudo amazon-linux-extras install ansible2

Step 3 : Check Ansible Version

ansible --version

Installation Directory : /etc/ansible

 

Leave a Comment