Set default inventory
This commit is contained in:
parent
2443a90bc5
commit
c07c03a430
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue