Try to make the letsencrypt check more robust.
This commit is contained in:
parent
b877da81ea
commit
923d47cd68
|
|
@ -124,7 +124,7 @@ psql_streaming_replication_config:
|
|||
# SSL as a special case
|
||||
psql_enable_ssl: false
|
||||
psql_force_ssl_client_connection: false
|
||||
postgresql_letsencrypt_managed: '{% if letsencrypt_acme_install is defined and letsencrypt_acme_install %}true{% else %}false{% endif %}'
|
||||
postgresql_letsencrypt_managed: '{% if letsencrypt_acme_install is defined and letsencrypt_acme_install %}true{% else %}false{% endif %} | bool'
|
||||
psql_ssl_privkey_global_file: '{% if postgresql_letsencrypt_managed %}{{ letsencrypt_acme_sh_certificates_install_path }}/privkey{% else %}{{ pki_dir }}/keys/{{ ansible_fqdn}}-key.pem{% endif %}'
|
||||
psql_ssl_privkey_file: /etc/pki/postgresql/postgresql.key
|
||||
psql_ssl_cert_file: '{% if postgresql_letsencrypt_managed %}{{ letsencrypt_acme_sh_certificates_install_path }}/fullchain{% else %}{{ pki_dir }}/certs/{{ ansible_fqdn}}.pem{% endif %}'
|
||||
|
|
|
|||
Loading…
Reference in New Issue