ansible-config/deploy.sh
2015-08-31 20:35:52 +02:00

7 lines
194 B
Bash
Executable file

#!/bin/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