ansible-config/deploy.sh
2015-08-31 20:38:21 +02:00

7 lines
202 B
Bash
Executable file

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