xoxys.postgres/templates/etc/containers/systemd/postgres.env.j2
Robert Kaussow 17e78db3d3
Some checks failed
continuous-integration/drone/pr Build is failing
refactor: move to podman container setup
2023-08-06 16:02:31 +02:00

13 lines
401 B
Django/Jinja

#jinja2: lstrip_blocks: True
{{ ansible_managed | comment }}
POSTGRES_USER={{ postgres_user }}
POSTGRES_PASSWORD={{ postgres_password }}
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 %}
POSTGRES_INITDB_ARGS="{{ postgres_initdb_args | join(' ') }}"
{% endif %}