Merge pull request #198 from tchellomello/ssl_pg

Added support to override PosgreSQL sslmode
This commit is contained in:
Marcelo Moreira de Mello
2021-04-28 15:51:01 -04:00
committed by GitHub
3 changed files with 5 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ DATABASES = {
'PASSWORD': "{{ awx_postgres_pass }}",
'HOST': '{{ awx_postgres_host }}',
'PORT': "{{ awx_postgres_port }}",
'OPTIONS': { 'sslmode': '{{ pg_sslmode|default("prefer") }}',
'OPTIONS': { 'sslmode': '{{ awx_postgres_sslmode }}',
'sslrootcert': '{{ ca_trust_bundle }}',
},
}