You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
446B

  1. ---
  2. - import_role:
  3. name: certificate
  4. vars:
  5. certificate_name: "{{nextcloud_server_names|first}}"
  6. certificate_common_name: "{{nextcloud_server_names|first}}"
  7. certificate_directory: /etc/ssl
  8. certificate_key_usage:
  9. - digitalSignature
  10. - keyEncipherment
  11. certificate_extended_key_usage:
  12. - serverAuth
  13. certificate_alt_names: "{{ nextcloud_server_names | map('regex_replace', '^(.*)$','DNS:\\1') | list }}"