How Ansible Works | Ansible.com
https://www.ansible.com/overview/how-ansible-worksansible all -m ping ansible foo.example.com -m yum -a "name=httpd state=installed" ansible foo.example.com -a "/usr/sbin/reboot" Note that we have access to state-based resource modules as well as running raw commands. These modules are extremely easy to write and Ansible ships with a fleet of them so most of your work is already done.