install.sh aktualisiert
This commit is contained in:
parent
2df31c9283
commit
a2586aefee
@ -27,5 +27,10 @@ for playbook in $PLAYBOOKS
|
||||
do
|
||||
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git
|
||||
[ -s /etc/dohardening ] || rm -f ${playbook}/hardening.yml
|
||||
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml
|
||||
if ls ${playbook}/*ansible*.yml >/dev/null
|
||||
then
|
||||
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*ansible*.yml
|
||||
else
|
||||
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml
|
||||
fi
|
||||
done
|
Loading…
Reference in New Issue
Block a user