From fad54d6946d60ac45cd4b0f21645544c4299e69f Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 7 Feb 2024 14:06:16 +0100 Subject: [PATCH] install.sh aktualisiert --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 3add062..13c16a7 100644 --- a/install.sh +++ b/install.sh @@ -27,7 +27,7 @@ for playbook in $PLAYBOOKS do git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git [ -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 sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*ansible*.yml else