Installation of Ansible in Linux host

Below steps tested in Centos 7 server

install the elel repo RPM.

rpm -ivh

Install the ansible with yum command.

yum install ansible -y

Check your ansible version

From the command line run version command.

ansible --version

config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.5 (default, Nov  6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

Test with local ping

ansible localhost -m ping
localhost | SUCCESS => {
    "changed": false,
    "ping": "pong"

How to Install Ansible role

pip install git+

cd ansible-toolbox
pip install .

Basic Configuration

Follow Ansible configuration instructions here

Copyright © 2004, Software Groups