From d14423aac4dfca98eec42fb9e2b6a134706c7ba5 Mon Sep 17 00:00:00 2001 From: carlosv Date: Thu, 8 Dec 2022 23:00:53 +0000 Subject: [PATCH] =?UTF-8?q?Corrige=20sustituci=C3=B3n=20de=20variable=20de?= =?UTF-8?q?=20entorno?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install_ansible_rundeck.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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