Set default inventory

This commit is contained in:
Timotej Lazar 2024-04-27 10:58:55 +02:00
parent 2443a90bc5
commit c07c03a430
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -1,5 +1,6 @@
[defaults]
nocows = true
filter_plugins = filter_plugins
inventory = inventory.yml
remote_user = root
vault_identity = network
filter_plugins = filter_plugins