Selaa lähdekoodia

fix certificate configuration error

master
vanhempi
commit
e659f03396
1 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. +4
    -3
      tasks/certificate.yml

+ 4
- 3
tasks/certificate.yml Näytä tiedosto

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


- include_role:
- import_role:
name: certificate name: certificate
vars: vars:
certificate_name: nextcloud
certificate_name: "{{nextcloud_server_names|first}}"
certificate_common_name: "{{nextcloud_server_names|first}}"
certificate_directory: /etc/ssl certificate_directory: /etc/ssl
certificate_key_usage: certificate_key_usage:
- digitalSignature - digitalSignature
- keyEncipherment - keyEncipherment
certificate_extended_key_usage: certificate_extended_key_usage:
- serverAuth - 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…
Peruuta
Tallenna