added dev portal
diff --git a/templates/devportal-postgres.conf.j2 b/templates/devportal-postgres.conf.j2 index 2b4ab5e..71794aa 100644 --- a/templates/devportal-postgres.conf.j2 +++ b/templates/devportal-postgres.conf.j2
@@ -4,11 +4,11 @@ {# TODO: Build a module that discover the region of the inventory_hostname and update the REGION dynamically #} {% if groups['dc-1'] is defined and inventory_hostname in groups['dc-1'] %} - REGION=dc-1 +REGION=dc-1 {% elif groups['dc-2'] is defined and inventory_hostname in groups['dc-2'] %} - REGION=dc-2 +REGION=dc-2 {% elif groups['dc-3'] is defined and inventory_hostname in groups['dc-3'] %} - REGION=dc-3 +REGION=dc-3 {% endif %} PG_PWD={{ devportal_pg_pass | default(pg_pass) }}