2015-05-28 11:32:57 +02:00
|
|
|
# Loop psql_db_data to add multiple databases
|
|
|
|
{% if psql_db_data is defined %}
|
|
|
|
{% for db in psql_db_data %}
|
2016-11-28 18:38:54 +01:00
|
|
|
{% if db.pwd is defined %}
|
|
|
|
{% if db.managedb is defined and db.managedb %}
|
2015-05-28 11:32:57 +02:00
|
|
|
{{ psql_db_host }}:{{ psql_db_port }}:{{ db.name }}:{{ db.user }}:{{ db.pwd }}
|
|
|
|
{% endif %}
|
2016-11-28 18:38:54 +01:00
|
|
|
{% endif %}
|
2015-05-28 11:32:57 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|