Browse Source

Minor amendments just to show that a change HAS been detected...

master
dave 5 months ago
parent
commit
ef82ef06c7
  1. 2
      usr.local.sbin/update-and-apply-ansible.sh

2
usr.local.sbin/update-and-apply-ansible.sh

@ -18,7 +18,7 @@ INVENTORY=${ANSBASE}/${REPO}
function apply_ansible
{
cd ${ANSBASE}/${REPO}
echo -e "$(date +'%F_%R:%S'): applying yaml from ${REPO} ..."
echo -e "$(date +'%F_%R:%S'): Change detected! Applying playbooks for ${NODE} from ${REPO} ..."
ansible-playbook -D -i ${ANSBASE}/${REPO}/inventory -l ${NODE} ${ANSBASE}/${REPO}/standalone-playbooks/epel.yml
ansible-playbook -D -i ${ANSBASE}/${REPO}/inventory -l ${NODE} ${ANSBASE}/${REPO}/site.yml
}

Loading…
Cancel
Save