浏览代码

Merge pull request #944 from aaronraimist/blank-or-none

Also check if matrix_ssl_lets_encrypt_support_email is blank
pull/945/head
Slavi Pantaleev 5 年前
committed by GitHub
父节点
当前提交
f4d0abbaf5
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      roles/matrix-nginx-proxy/tasks/validate_config.yml

+ 2
- 2
roles/matrix-nginx-proxy/tasks/validate_config.yml 查看文件

@@ -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'"

正在加载...
取消
保存