diff --git a/README.md b/README.md index 2e1609e..140aa81 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ Create a read-only token in NetBox. Define required variables: Run one-off tasks with (add `--key-file` or other options as necessary): - ansible -i inventory.yml -m ping 'server-*' + ansible -m ping 'server-*' Run a playbook with: - ansible-playbook setup.yml -i inventory.yml -l 'server-*' + ansible-playbook setup.yml -l 'server-*' diff --git a/ansible.cfg b/ansible.cfg index 0c5eed0..c6e6e02 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,2 +1,4 @@ [defaults] +nocows = true +inventory = inventory.yml remote_user = root