forked from ISTI-ansible-roles/ansible-roles
add mongodb_ssl_letsencrypt_ca_dir variable
This commit is contained in:
parent
6a0878dd9a
commit
7c30f39124
|
@ -51,12 +51,13 @@ mongodb_storage_engine: wiredTiger
|
||||||
mongodb_ssl_enabled: False
|
mongodb_ssl_enabled: False
|
||||||
mongodb_ssl_letsencrypt_managed: True
|
mongodb_ssl_letsencrypt_managed: True
|
||||||
mongodb_ssl_letsencrypt_ca_url: 'https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt'
|
mongodb_ssl_letsencrypt_ca_url: 'https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt'
|
||||||
|
mongodb_ssl_letsencrypt_ca_dir: /etc/pki/mongodb
|
||||||
mongodb_ssl_letsencrypt_ca_filename: lets-encrypt-x3-cross-signed.pem
|
mongodb_ssl_letsencrypt_ca_filename: lets-encrypt-x3-cross-signed.pem
|
||||||
# Options: disabled, requireSSL, allowSSL, preferSSL
|
# Options: disabled, requireSSL, allowSSL, preferSSL
|
||||||
mongodb_ssl_mode: requireSSL
|
mongodb_ssl_mode: requireSSL
|
||||||
mongodb_ssl_cert_dir: /etc/pki/mongodb
|
mongodb_ssl_cert_dir: /etc/pki/mongodb
|
||||||
mongodb_ssl_certkey_file: '{{ mongodb_ssl_cert_dir }}/mongodb.pem'
|
mongodb_ssl_certkey_file: '{{ mongodb_ssl_cert_dir }}/mongodb.pem'
|
||||||
mongodb_ssl_CA_file: '{{ mongodb_ssl_letsencrypt_ca_filename }}'
|
mongodb_ssl_CA_file: '{{ mongodb_ssl_letsencrypt_ca_dir }}/{{ mongodb_ssl_letsencrypt_ca_filename }}'
|
||||||
mongodb_ssl_allowConnectionsWithoutCertificates: 'true'
|
mongodb_ssl_allowConnectionsWithoutCertificates: 'true'
|
||||||
mongodb_ssl_disabled_protocols: 'TLS1_0,TLS1_1'
|
mongodb_ssl_disabled_protocols: 'TLS1_0,TLS1_1'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue