ansible-config/deploy.sh

7 lines
194 B
Bash
Raw Normal View History

2015-08-31 20:35:52 +02:00
#!/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