From e735540799140e3e06d2517b6bf7b531e6969334 Mon Sep 17 00:00:00 2001
From: nono <np@laquadrature.net>
Date: Tue, 19 Jan 2021 20:04:10 +0100
Subject: [PATCH] It's not a typo fix, so I guess I might still be right

---
 tasks/configuration.yml | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/tasks/configuration.yml b/tasks/configuration.yml
index dc93488..016779f 100644
--- a/tasks/configuration.yml
+++ b/tasks/configuration.yml
@@ -17,8 +17,8 @@
     owner: hedgedocs
     group: www-data
     mode: 0644
-    handlers:
-        - Reload systemd
+  notify:
+    - Reload systemd
 
 - name: Activation de la configuration systemd
   systemd:
@@ -26,6 +26,12 @@
     name: hedgedocs
     enabled: yes
 
-- name: Reload systemd
-  systemd:
+- name: Force systemd à relire les configs
+  ansible.builtin.systemd:
     daemon_reload: yes
+
+- name: Reload nginx
+   systemd:
+     state: reloaded
+     name: nginx
+     enabled: yes
-- 
GitLab