Ensure some matrix-nginx-proxy variables are defined

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1397
This commit is contained in:
Slavi Pantaleev 2021-11-15 14:46:44 +02:00
parent 0152ecef1c
commit 994c0e504c

View File

@ -43,5 +43,7 @@
msg: "The `{{ item }}` variable must be defined and have a non-null value"
with_items:
- "matrix_ssl_lets_encrypt_support_email"
- "matrix_nginx_proxy_proxy_synapse_federation_api_addr_sans_container"
- "matrix_nginx_proxy_proxy_synapse_federation_api_addr_with_container"
when: "vars[item] == '' or vars[item] is none"
when: "matrix_ssl_retrieval_method == 'lets-encrypt'"