ansible-desktop/deploy.sh
2020-03-09 20:31:16 +00:00

11 lines
203 B
Bash
Executable file

#!/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