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