install.sh aktualisiert

This commit is contained in:
olli 2024-02-07 14:14:59 +01:00
parent fad54d6946
commit b6f6c555ef

View File

@ -25,7 +25,12 @@ cd $(hostname -s)-git
for playbook in $PLAYBOOKS
do
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git
if [ -z "${GITSRVURL}" ]
then
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git#
else
git clone ${GITSRVURL}/server-$(hostname -s).git
fi
[ -s /etc/dohardening ] || rm -f ${playbook}/hardening.yml
if ls ${playbook}/*ansible*.yml >/dev/null 2>&1
then