diff --git a/docs/Command Snippets/Ansible Snippets.md b/docs/Command Snippets/Ansible Snippets.md index 92a8429..20d9b18 100644 --- a/docs/Command Snippets/Ansible Snippets.md +++ b/docs/Command Snippets/Ansible Snippets.md @@ -2,8 +2,14 @@ WSL Fix for world-writable directories ```bash export ANSIBLE_CONFIG=./ansible.cfg ``` - +Ping +```bash +ansible all -m ping +``` Gather facts ```bash -ansible all +ansible all -m gather_facts + +# Limit to one device +ansible all -m gather_facts --limit ADDRESS ``` \ No newline at end of file