diff --git a/README.md b/README.md index b1dfa86..765a04a 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,11 @@ Create a read-only token in NetBox. Set variables required to access NetBox: Run one-off tasks with (add `--key-file` or other options as necessary): - ansible -i inventory.yml -m ping 'spine-*' + ansible -m ping 'spine-*' Run a playbook with: - ansible-playbook setup.yml -i inventory.yml -l 'spine-*' + ansible-playbook setup.yml -l 'spine-*' ## NetBox data diff --git a/ansible.cfg b/ansible.cfg index 7925ec3..aa4a4a6 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,5 +1,6 @@ [defaults] nocows = true +filter_plugins = filter_plugins +inventory = inventory.yml remote_user = root vault_identity = network -filter_plugins = filter_plugins