From 636993b4afbdf0619e4658418ba1d8efe39d1cff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net>
Date: Sun, 6 Feb 2022 13:53:40 +0100
Subject: [PATCH] Make sure things run in the right order

---
 tasks/main.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tasks/main.yml b/tasks/main.yml
index 1eb409d..1d79552 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -21,6 +21,9 @@
   check_mode: true
   notify: Delete old config
 
+- name: Actually run the handlers
+  meta: flush_handlers
+
 - name: Load config template
   set_fact:
     sshd_config: "{{ lookup('template', 'templates/sshd_config.conf.j2') }}"
-- 
GitLab