Set default inventory
This commit is contained in:
parent
1a4652fd87
commit
05d3f82caf
2 changed files with 4 additions and 2 deletions
|
@ -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-*'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue