|
@@ -7,19 +7,25 @@ |
|
|
- import_tasks: database.yaml |
|
|
- import_tasks: database.yaml |
|
|
- import_tasks: deploy.yml |
|
|
- import_tasks: deploy.yml |
|
|
|
|
|
|
|
|
|
|
|
- include_role: |
|
|
|
|
|
name: nginx |
|
|
|
|
|
vars: |
|
|
|
|
|
nginx_vhosts: [] |
|
|
|
|
|
|
|
|
- name: flush handlers |
|
|
- name: flush handlers |
|
|
meta: flush_handlers |
|
|
meta: flush_handlers |
|
|
|
|
|
|
|
|
- include_role: |
|
|
- include_role: |
|
|
name: certificate |
|
|
name: certificate |
|
|
vars: |
|
|
vars: |
|
|
certificate_name: gitea |
|
|
|
|
|
|
|
|
certificate_name: "{{gitea_server_name}}" |
|
|
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_common_name: "{{gitea_server_name}}" |
|
|
certificate_alt_names: |
|
|
certificate_alt_names: |
|
|
- "{{ gitea_server_name | regex_replace( '(.*)','DNS:\\1' ) }}" |
|
|
- "{{ gitea_server_name | regex_replace( '(.*)','DNS:\\1' ) }}" |
|
|
|
|
|
|
|
|