浏览代码

fix certificate handling

master
父节点
当前提交
9e3d9f58a0
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. +7
    -1
      tasks/main.yml

+ 7
- 1
tasks/main.yml 查看文件

@@ -7,19 +7,25 @@
- import_tasks: database.yaml
- import_tasks: deploy.yml

- include_role:
name: nginx
vars:
nginx_vhosts: []

- name: flush handlers
meta: flush_handlers

- include_role:
name: certificate
vars:
certificate_name: gitea
certificate_name: "{{gitea_server_name}}"
certificate_directory: /etc/ssl
certificate_key_usage:
- digitalSignature
- keyEncipherment
certificate_extended_key_usage:
- serverAuth
certificate_common_name: "{{gitea_server_name}}"
certificate_alt_names:
- "{{ gitea_server_name | regex_replace( '(.*)','DNS:\\1' ) }}"



正在加载...
取消
保存