Add variable for extra domains to get LE certs for

I felt that adding another variable was probably going to be the easiest way to do this. I may end up adding another variable to enable this feature, for consistency with some of the other things.
This commit is contained in:
Stuart Thomson 2021-02-06 20:02:39 +13:00
parent 62f79af0a8
commit 064b2e533c
2 changed files with 3 additions and 0 deletions

View file

@ -1025,6 +1025,8 @@ matrix_ssl_domains_to_obtain_certificates_for: |
([matrix_server_fqn_jitsi] if matrix_jitsi_enabled else [])
+
([matrix_domain] if matrix_nginx_proxy_base_domain_serving_enabled else [])
+
matrix_ssl_additional_domains_to_obtain_certificates_for
}}
matrix_ssl_architecture: "{{

View file

@ -292,6 +292,7 @@ matrix_ssl_architecture: "amd64"
# The list of domains that this role will obtain certificates for.
matrix_ssl_domains_to_obtain_certificates_for: []
matrix_ssl_additional_domains_to_obtain_certificates_for: []
# Controls whether to obtain production or staging certificates from Let's Encrypt.
matrix_ssl_lets_encrypt_staging: false