Browse Source

Also check if matrix_ssl_lets_encrypt_support_email is blank

pull/944/head
Aaron Raimist 5 years ago
parent
commit
466827139a
No known key found for this signature in database GPG Key ID: 37419210002890EF
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      roles/matrix-nginx-proxy/tasks/validate_config.yml

+ 2
- 2
roles/matrix-nginx-proxy/tasks/validate_config.yml View File

@@ -40,8 +40,8 @@

- name: Fail if required variables are undefined
fail:
msg: "Detected an undefined required variable"
msg: "The `{{ item }}` variable must be defined and have a non-null value"
with_items:
- "matrix_ssl_lets_encrypt_support_email"
when: "vars[item] is none"
when: "vars[item] == '' or vars[item] is none"
when: "matrix_ssl_retrieval_method == 'lets-encrypt'"

Loading…
Cancel
Save