|
|
@ -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 |
|
|
|
} |
|
|
|