ansible-role-open-asfa/templates/pgadmin_servers.json.j2

19 lines
500 B
Django/Jinja

{
"Servers": {
"1": {
"Name": "Open Asfa Production DB",
"Group": "Open Asfa",
"Port": 5432,
"Username": "{{ open_asfa_db_user }}",
"Host": "{{ open_asfa_db_host }}",
"SSLMode": "prefer",
{% if open_asfa_db_as_container %}
"MaintenanceDB": "postgres",
{% else %}
"MaintenanceDB": "{{ open_asfa_db_name }}",
{% endif %}
"DBRestriction": "{{ open_asfa_db_name }}"
}
}
}