mirror of
https://github.com/ansible/awx.git
synced 2026-01-28 00:51:27 -03:30
Prior to this change, password having shell interpretable character
would break the installer (e.g '&', '(', etc... )
This commits rely on the `quote` filter from ansible to ensure those
password are properly quoted where it applies
Fixes: https://github.com/ansible/awx/issues/3943
Signed-off-by: Yanis Guenane <yguenane@redhat.com>
12 lines
506 B
Django/Jinja
12 lines
506 B
Django/Jinja
DATABASE_USER={{ pg_username }}
|
|
DATABASE_NAME={{ pg_database }}
|
|
DATABASE_HOST={{ pg_hostname|default('postgres') }}
|
|
DATABASE_PORT={{ pg_port|default('5432') }}
|
|
DATABASE_PASSWORD={{ pg_password | quote }}
|
|
MEMCACHED_HOST={{ memcached_hostname|default('memcached') }}
|
|
MEMCACHED_PORT={{ memcached_port|default('11211') }}
|
|
RABBITMQ_HOST={{ rabbitmq_hostname|default('rabbitmq') }}
|
|
RABBITMQ_PORT={{ rabbitmq_port|default('5672') }}
|
|
AWX_ADMIN_USER={{ admin_user }}
|
|
AWX_ADMIN_PASSWORD={{ admin_password | quote }}
|