mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Installer: quote password where it applies
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>
This commit is contained in:
@@ -111,7 +111,7 @@ services:
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_VHOST: "{{ rabbitmq_default_vhost }}"
|
||||
RABBITMQ_DEFAULT_USER: "{{ rabbitmq_user }}"
|
||||
RABBITMQ_DEFAULT_PASS: "{{ rabbitmq_password }}"
|
||||
RABBITMQ_DEFAULT_PASS: "{{ rabbitmq_password | quote }}"
|
||||
RABBITMQ_ERLANG_COOKIE: {{ rabbitmq_erlang_cookie }}
|
||||
http_proxy: {{ http_proxy | default('') }}
|
||||
https_proxy: {{ https_proxy | default('') }}
|
||||
@@ -135,7 +135,7 @@ services:
|
||||
- {{ postgres_data_dir }}:/var/lib/postgresql/data:Z
|
||||
environment:
|
||||
POSTGRES_USER: {{ pg_username }}
|
||||
POSTGRES_PASSWORD: {{ pg_password }}
|
||||
POSTGRES_PASSWORD: {{ pg_password | quote }}
|
||||
POSTGRES_DB: {{ pg_database }}
|
||||
PGDATA: /var/lib/postgresql/data/pgdata
|
||||
http_proxy: {{ http_proxy | default('') }}
|
||||
|
||||
Reference in New Issue
Block a user