From 0a6b67bc1b1658ef6650da1213a4e862b2dd561a Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Tue, 14 Nov 2023 12:17:00 +0100 Subject: [PATCH] fixed cert update handling --- handlers/main.yml | 5 +++++ tasks/main.yml | 3 +++ 2 files changed, 8 insertions(+) diff --git a/handlers/main.yml b/handlers/main.yml index b370271..f231f6d 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -10,3 +10,8 @@ ansible.builtin.service: name: openproject state: restarted + +- name: apache2 restart + ansible.builtin.service: + name: apache2 + state: restarted diff --git a/tasks/main.yml b/tasks/main.yml index 34e2acd..2df304a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -41,6 +41,9 @@ mode: "0640" group: root owner: root + notify: + - openproject restart + - apache2 restart diff: "{{ openproject_show_diff | default(false) | bool }}" with_items: - "{{ openproject_filename_cert }}"