initial commit
This commit is contained in:
commit
f9b5769d6c
2 changed files with 193 additions and 0 deletions
11
deploy.sh
Executable file
11
deploy.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# run sudo to cache creds
|
||||
sudo /bin/true
|
||||
|
||||
# update modules and check depencies
|
||||
git pull
|
||||
rpm -q ansible > /dev/null || sudo yum -y install ansible
|
||||
|
||||
# run playbook
|
||||
ansible-playbook deploy.yml
|
Loading…
Add table
Add a link
Reference in a new issue