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
[WARNING]: provided hosts list is empty, only localhost is available

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

Basic Configuration

Follow Ansible configuration instructions here

Copyright © 2004, Software Groups