srv02 Inventory

This commit is contained in:
baldo 2015-11-14 14:06:36 +01:00
commit d76e9f4a7e
4 changed files with 11 additions and 12 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
if [ $# -gt 0 ]; then
ansible-playbook site.yml -i production --sudo --ask-sudo-pass --tags $1
ansible-playbook site.yml -i srv02.inventory --sudo --ask-sudo-pass --tags $1
else
ansible-playbook site.yml -i production --sudo --ask-sudo-pass
ansible-playbook site.yml -i srv02.inventory --sudo --ask-sudo-pass
fi