From 325804daa5162f7300a68340da401063a4d5b27f Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Sat, 15 May 2021 18:40:19 +0200 Subject: [PATCH] Add handler call on package installation --- tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index e7804ed..80e1bcd 100755 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -32,6 +32,8 @@ - mailx state: present disable_gpg_check: yes + notify: + - restart msmtpd when: ansible_os_family == "RedHat" - name: Ensure group "msmtp" exists