Ansible

install

# yum install epel-release
# yum install ansible

checkup

# vi /etc/ansible/hosts
centos.domain.tld
ping check
# ansible -m ping all
centos.domain.tld | SUCCESS => {
    "changed": false,
    "ping": "pong"
}
first shell command
# ansible -m shell -a free -m centos.domain.tld
centos.domain.tld | SUCCESS | rc=0 >>
              total        used        free      shared  buff/cache   available
Mem:           2000         126        1522           8         350        1695
Swap:             0           0           0

how-to-install-and-configure-ansible-on-centos-7