Ansible modules

ansible all -i /etc/ansible/hosts -m command -a "ls"

ping:

ansible all -i /etc/ansible/hosts -m ping

Last updated