install.sh aktualisiert
This commit is contained in:
parent
fad54d6946
commit
b6f6c555ef
@ -25,7 +25,12 @@ cd $(hostname -s)-git
|
|||||||
|
|
||||||
for playbook in $PLAYBOOKS
|
for playbook in $PLAYBOOKS
|
||||||
do
|
do
|
||||||
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git
|
if [ -z "${GITSRVURL}" ]
|
||||||
|
then
|
||||||
|
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git#
|
||||||
|
else
|
||||||
|
git clone ${GITSRVURL}/server-$(hostname -s).git
|
||||||
|
fi
|
||||||
[ -s /etc/dohardening ] || rm -f ${playbook}/hardening.yml
|
[ -s /etc/dohardening ] || rm -f ${playbook}/hardening.yml
|
||||||
if ls ${playbook}/*ansible*.yml >/dev/null 2>&1
|
if ls ${playbook}/*ansible*.yml >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user