Ansible

Installing an Ansible control node on CentOS 7

su root

## RHEL/CentOS 7 64-Bit ##
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
# rpm -ivh epel-release-7-8.noarch.rpm

yum install ansible

ansible --version

Creating an Ansible inventory

# vi /etc/ansible/hosts
echo"localhost">>/etc/ansible/hosts

ansible all -m ping

Loading