Set default inventory
This commit is contained in:
parent
2443a90bc5
commit
c07c03a430
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[defaults]
|
||||
nocows = true
|
||||
filter_plugins = filter_plugins
|
||||
inventory = inventory.yml
|
||||
remote_user = root
|
||||
vault_identity = network
|
||||
filter_plugins = filter_plugins
|
||||
|
|
Loading…
Reference in a new issue