srv02 Inventory
This commit is contained in:
parent
c954cb28dc
commit
d76e9f4a7e
4 changed files with 11 additions and 12 deletions
|
|
@ -21,11 +21,11 @@ benötigt. Für diesen muss ein SSH-Key hinterlegt sein.
|
|||
|
||||
## Übernehmen der Änderungen für alle Hosts
|
||||
|
||||
ansible-playbook site.yml -i production --sudo --ask-sudo-pass
|
||||
ansible-playbook site.yml -i srv02.inventory --sudo --ask-sudo-pass
|
||||
|
||||
## Ansible Convenience
|
||||
|
||||
Einschränken auf bestimmte Tags, z. B. `nginx`:
|
||||
|
||||
ansible-playbook site.yml -i production --sudo --ask-sudo-pass --tags nginx
|
||||
ansible-playbook site.yml -i srv02.inventory --sudo --ask-sudo-pass --tags nginx
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue