added deploy script

This commit is contained in:
Frederik Wille 2015-08-31 20:35:52 +02:00
parent 58ca61e934
commit e2a1ea2b73

6
deploy.sh Executable file
View file

@ -0,0 +1,6 @@
#!/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