Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 225 Bytes

File metadata and controls

13 lines (9 loc) · 225 Bytes

Ansible

Gather facts from remote system:

ansible -i staging.ini -m setup my-fqdn.example.net

Run custom command on all hosts in inventory staging.ini:

ansible -i staging.ini -m command -a "uptime" all