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`).
development
Slavi Pantaleev 6 years ago
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…
Cancel
Save