Install & Configure Ansible(Server)

Install & Configure Ansible(Server)

• Launch Amazon Linux (need not to install ansible in nodes)
• yum install wget -y
• wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
• yum install epel-release-latest-7.noarch.rpm -y
• sudo yum update -y
• sudo yum install git python python-devel python-pip openssl ansible -y
• ansible –version
• sudo vi /etc/ansible/ansible.cfg & enable the below lines

inventory = /etc/ansible/hosts
sudo_user = root 

Leave a Reply

Your email address will not be published. Required fields are marked *