From 9e3d9f58a07ea5c468d155eb7a11e9a8917333a8 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Fri, 10 Apr 2020 10:55:37 +0200 Subject: [PATCH] fix certificate handling --- tasks/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index bf413fc..bb2e52a 100644 --- a/tasks/main.yml +++ b/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' ) }}"