added deploy script
This commit is contained in:
parent
58ca61e934
commit
e2a1ea2b73
1 changed files with 6 additions and 0 deletions
6
deploy.sh
Executable file
6
deploy.sh
Executable 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
|
Loading…
Reference in a new issue