From 3b746c48fd3e711c92baa4c9d43fba401b42a410 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 20 Feb 2025 16:59:50 +0100 Subject: [PATCH] Reload the systemd configuration after installing the dropin files. --- tasks/arc.yml | 3 +++ tasks/dkim.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tasks/arc.yml b/tasks/arc.yml index cd642d8..a87d651 100644 --- a/tasks/arc.yml +++ b/tasks/arc.yml @@ -95,6 +95,9 @@ mode: "0644" notify: Restart openarc when: ansible_distribution_file_variety == "RedHat" + - name: arc | Reload the systemd configuration + ansible.builtin.systemd_service: + daemon-reload: true - name: arc | Manage the arc service tags: ['postfix', 'postfix_arc', 'arc'] diff --git a/tasks/dkim.yml b/tasks/dkim.yml index 689e1c4..3a66ae3 100644 --- a/tasks/dkim.yml +++ b/tasks/dkim.yml @@ -82,6 +82,9 @@ mode: "0644" notify: restart opendkim when: ansible_distribution_file_variety == "RedHat" + - name: dkim | Reload the systemd configuration + ansible.builtin.systemd_service: + daemon-reload: true - name: dkim | Install the opendkim configuration ansible.builtin.template: src: opendkim.conf.j2