From 5ce40dc5cd3165e00c9ded52050f93fcd674b38a Mon Sep 17 00:00:00 2001 From: Ajeet Yadav Date: Fri, 4 Aug 2023 13:21:52 +0530 Subject: [PATCH] Adds localsettings for ABDM integration --- .../roles/commcarehq/templates/localsettings.py.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/commcare_cloud/ansible/roles/commcarehq/templates/localsettings.py.j2 b/src/commcare_cloud/ansible/roles/commcarehq/templates/localsettings.py.j2 index 8dcdfff621..ebdb8dd82f 100644 --- a/src/commcare_cloud/ansible/roles/commcarehq/templates/localsettings.py.j2 +++ b/src/commcare_cloud/ansible/roles/commcarehq/templates/localsettings.py.j2 @@ -1148,6 +1148,18 @@ USE_PHONE_ENTRIES = {{ localsettings.USE_PHONE_ENTRIES }} CHECK_REPEATERS_PARTITION_COUNT = {{ localsettings.CHECK_REPEATERS_PARTITION_COUNT }} {% endif %} +{% if localsettings.ABDM_ABHA_URL is defined %} +ABDM_ABHA_URL = {{ localsettings.ABDM_ABHA_URL }} +{% endif %} + +{% if localsettings.ABDM_GATEWAY_URL is defined %} +ABDM_GATEWAY_URL = {{ localsettings.ABDM_GATEWAY_URL }} +{% endif %} + +{% if localsettings.ABDM_X_CM_ID is defined %} +ABDM_X_CM_ID = {{ localsettings.ABDM_X_CM_ID }} +{% endif %} + {% if ABDM_CLIENT_ID %} ABDM_CLIENT_ID = {{ ABDM_CLIENT_ID }} {% endif %}