Browse Source

Made a correction to update-and-apply-ansible.sh

master
Maarten 5 months ago
parent
commit
d993e4c686
  1. 3
      usr.local.sbin/update-and-apply-ansible.sh

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

@ -32,7 +32,8 @@ if [ ! -d ${ANSBASE}/${REPO} ]
then then
## -- initial clone here if dir is missing (and initial apply) ## -- initial clone here if dir is missing (and initial apply)
echo "$(date +'%F_%R:%S'): initial clone needed:" echo "$(date +'%F_%R:%S'): initial clone needed:"
git clone deploy:/tombstones/${REPO}.git ${ANSBASE}/${REPO} #git clone deploy:/tombstones/${REPO}.git ${ANSBASE}/${REPO}
git clone ssh://git@deploy:/tombstones/${REPO}.git ${ANSBASE}/${REPO}
apply_ansible apply_ansible
elif [ -d ${ANSBASE}/${REPO} ] elif [ -d ${ANSBASE}/${REPO} ]
then then

Loading…
Cancel
Save