2023-08-06 14:02:31 +00:00
|
|
|
#jinja2: lstrip_blocks: True
|
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
POSTGRES_USER={{ postgres_user }}
|
|
|
|
POSTGRES_PASSWORD={{ postgres_password }}
|
2024-08-13 07:47:50 +00:00
|
|
|
{% if postgres_app_user is defined and postgres_app_password is defined %}
|
|
|
|
POSTGRES_APP_USER={{ postgres_app_user }}
|
|
|
|
POSTGRES_APP_PASSWORD={{ postgres_app_password }}
|
2024-08-13 08:50:59 +00:00
|
|
|
{% endif %}
|
2023-08-06 14:02:31 +00:00
|
|
|
POSTGRES_DB={{ postgres_db }}
|
|
|
|
|
|
|
|
{% if postgres_host_auth_method is defined %}
|
|
|
|
POSTGRES_HOST_AUTH_METHOD={{ postgres_host_auth_method }}
|
|
|
|
{% endif %}
|
|
|
|
{% if postgres_initdb_args | length > 0 %}
|
2023-08-06 14:28:01 +00:00
|
|
|
POSTGRES_INITDB_ARGS={{ postgres_initdb_args | join(" ") }}
|
2023-08-06 14:02:31 +00:00
|
|
|
{% endif %}
|