From a7811787fa7bf1e5c6696dd4e833220340d6c94f Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Fri, 14 May 2021 18:17:23 -0500 Subject: [PATCH] export variables --- roles/lokole/templates/webapp_secrets.sh.j2 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/roles/lokole/templates/webapp_secrets.sh.j2 b/roles/lokole/templates/webapp_secrets.sh.j2 index 1f3c38566..18471d95b 100644 --- a/roles/lokole/templates/webapp_secrets.sh.j2 +++ b/roles/lokole/templates/webapp_secrets.sh.j2 @@ -1,6 +1,7 @@ -export OPWEN_SIM_TYPE='LocalOnly' -export OPWEN_STATE_DIRECTORY='{{lokole_run_directory}}' +export OPWEN_SIM_TYPE='{{ lokole_sim_type }}' +export OPWEN_STATE_DIRECTORY='{{ lokole_run_directory }}' +export OPWEN_APP_ROOT='{{ lokole_url }}' +export OPWEN_MAX_UPLOAD_SIZE_MB=10 +export OPWEN_SYNC_SCHEDULE='1,16,31,46 * * * *' export OPWEN_SESSION_KEY='{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=32') }}' export OPWEN_PASSWORD_SALT='{{ lookup('password', '/dev/null chars=ascii_letters,digits,_ length=16') }}' -export OPWEN_CLIENT_NAME='{{ iiab_hostname }}' -export OPWEN_ROOT_DOMAIN='{{ iiab_domain }}'