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
## -- initial clone here if dir is missing (and initial apply)
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
elif [ -d ${ANSBASE}/${REPO} ]
then

Loading…
Cancel
Save