#!/bin/bash # run sudo to cache creds sudo /bin/true # update modules and check depencies git pull git submodule update --init --recursive rpm -q ansible > /dev/null || sudo yum -y install ansible # run playbook ansible-playbook deploy.yml