瀏覽代碼

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

Loading…
取消
儲存