diff --git a/install_ansible_rundeck.sh b/install_ansible_rundeck.sh index f17ee5c..392a902 100755 --- a/install_ansible_rundeck.sh +++ b/install_ansible_rundeck.sh @@ -8,7 +8,7 @@ # sets all passwords of users and the vscode server to "onemarcfifty" USERPASSWORD=onemarcfifty -SERVERURL=rundeck2.lan +SERVERURL="rundeck2.lan" # first we install some software @@ -40,8 +40,8 @@ apt -y install rundeck # replace the localhost entries in the config files with the hostname -sed -i s/localhost/$SERVERURL=rundeck2.lan/g /etc/rundeck/framework.properties -sed -i s/localhost/$SERVERURL=rundeck2.lan/g /etc/rundeck/rundeck-config.properties +sed -i s/localhost/$SERVERURL/g /etc/rundeck/framework.properties +sed -i s/localhost/$SERVERURL/g /etc/rundeck/rundeck-config.properties # install mariadb apt install -y mariadb-server