From 1fd9dd7ea2814832610108f0e5fe5808929a2e54 Mon Sep 17 00:00:00 2001 From: David Mehren <git@herrmehren.de> Date: Sun, 30 Apr 2023 09:51:42 +0200 Subject: [PATCH] Fix switch from unmanaged to managed config --- tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index e0b687b..ac9cf9c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -21,6 +21,9 @@ check_mode: true notify: Delete old config +- name: Run handlers + ansible.builtin.meta: flush_handlers + - name: Load config template ansible.builtin.set_fact: sshd_config: "{{ lookup('template', 'templates/sshd_config.conf.j2') }}" -- GitLab