mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 10:47:32 +01:00
Make error about unset matrix_ssl_lets_encrypt_support_email more descriptive
Previously, we'd show an error like this: {"changed": false, "item": null, "msg": "Detected an undefined required variable"} .. which didn't mention the variable name (`matrix_ssl_lets_encrypt_support_email`).
This commit is contained in:
parent
00ec22688a
commit
7c246b4a99
@ -30,8 +30,8 @@
|
|||||||
fail:
|
fail:
|
||||||
msg: "Detected an undefined required variable"
|
msg: "Detected an undefined required variable"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ matrix_ssl_lets_encrypt_support_email }}"
|
- "matrix_ssl_lets_encrypt_support_email"
|
||||||
when: "matrix_ssl_retrieval_method == 'lets-encrypt' and item is none"
|
when: "matrix_ssl_retrieval_method == 'lets-encrypt' and vars[item] is none"
|
||||||
|
|
||||||
- name: Ensure certbot Docker image is pulled
|
- name: Ensure certbot Docker image is pulled
|
||||||
docker_image:
|
docker_image:
|
||||||
|
Loading…
Reference in New Issue
Block a user