install.sh aktualisiert

This commit is contained in:
olli 2024-02-07 14:06:16 +01:00
parent a2586aefee
commit fad54d6946

View File

@ -27,7 +27,7 @@ for playbook in $PLAYBOOKS
do do
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git
[ -s /etc/dohardening ] || rm -f ${playbook}/hardening.yml [ -s /etc/dohardening ] || rm -f ${playbook}/hardening.yml
if ls ${playbook}/*ansible*.yml >/dev/null if ls ${playbook}/*ansible*.yml >/dev/null 2>&1
then then
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*ansible*.yml sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*ansible*.yml
else else