瀏覽代碼

fix certificate configuration error

master
父節點
當前提交
e659f03396
共有 1 個檔案被更改,包括 4 行新增3 行删除
  1. +4
    -3
      tasks/certificate.yml

+ 4
- 3
tasks/certificate.yml 查看文件

@@ -1,13 +1,14 @@
---

- include_role:
- import_role:
name: certificate
vars:
certificate_name: nextcloud
certificate_name: "{{nextcloud_server_names|first}}"
certificate_common_name: "{{nextcloud_server_names|first}}"
certificate_directory: /etc/ssl
certificate_key_usage:
- digitalSignature
- keyEncipherment
certificate_extended_key_usage:
- serverAuth
certificate_alt_names: "{{ nextcloud_server_names | map('regex_replace', '(.*)','DNS:\\1') | list }}"
certificate_alt_names: "{{ nextcloud_server_names | map('regex_replace', '^(.*)$','DNS:\\1') | list }}"

Loading…
取消
儲存