install.sh aktualisiert
This commit is contained in:
parent
a2586aefee
commit
fad54d6946
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user