ansible-config/deploy.sh

7 lines
164 B
Bash
Raw Normal View History

2015-08-31 20:38:21 +02:00
#!/usr/bin/env bash
2015-08-31 20:35:52 +02:00
if [ $# -gt 0 ]; then
ansible-playbook site.yml -i production -bK --tags $1
2015-08-31 20:35:52 +02:00
else
ansible-playbook site.yml -i production -bK
2015-08-31 20:35:52 +02:00
fi