From 5e1351d971ef7e11093e66a196ea7ee8a8d04632 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 1 Dec 2024 16:26:34 +0000 Subject: [PATCH] Just improved the feedback in the file minor changes --- usr.local.sbin/update-and-apply-ansible.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.local.sbin/update-and-apply-ansible.sh b/usr.local.sbin/update-and-apply-ansible.sh index 98896be..8fd4888 100644 --- a/usr.local.sbin/update-and-apply-ansible.sh +++ b/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'): Change detected! Applying playbooks for ${NODE} 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 } @@ -39,7 +39,7 @@ then elif [ -d ${ANSBASE}/${REPO} ] then ## -- check first - echo -e "$(date +'%F_%R:%S'): checking ${REPO} ... \c" + echo -e "$(date +'%F_%R:%S'): Checking ${REPO} on Gitea ... \c" cd ${ANSBASE}/${REPO} STATUS="$(git status | tail -n1)"