revert pg password

This commit is contained in:
Robert Kaussow 2024-08-13 11:05:45 +02:00
parent 06a343c8b5
commit eb63ab1851
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 1 additions and 4 deletions

View File

@ -52,8 +52,7 @@ postgres_podman_args:
postgres_log_level: warning postgres_log_level: warning
postgres_user: postgres postgres_user: postgres
# @var postgres_password:description: Password of the superuser defined in `postgres_user`. postgres_password: postgres
# postgres_password:value: $ "_unset_"
# @var postgres_app_user:description: > # @var postgres_app_user:description: >
# Application user name without superuser privileges. Full access to `postgres_db` # Application user name without superuser privileges. Full access to `postgres_db`

View File

@ -1,9 +1,7 @@
#jinja2: lstrip_blocks: True #jinja2: lstrip_blocks: True
{{ ansible_managed | comment }} {{ ansible_managed | comment }}
POSTGRES_USER={{ postgres_user }} POSTGRES_USER={{ postgres_user }}
{% if postgres_password is defined %}
POSTGRES_PASSWORD={{ postgres_password }} POSTGRES_PASSWORD={{ postgres_password }}
{% endif %}
{% if postgres_app_user is defined and postgres_app_password is defined %} {% if postgres_app_user is defined and postgres_app_password is defined %}
POSTGRES_APP_USER={{ postgres_app_user }} POSTGRES_APP_USER={{ postgres_app_user }}
POSTGRES_APP_PASSWORD={{ postgres_app_password }} POSTGRES_APP_PASSWORD={{ postgres_app_password }}