From 51792285e5bf9fbc3afb58260fc9d02387d91073 Mon Sep 17 00:00:00 2001 From: Gitouche Date: Thu, 6 Jun 2024 21:48:59 +0200 Subject: [PATCH] msmtpd pour RHEL8 : fix selinux fcontext --- tasks/setup-rocky-8.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/setup-rocky-8.yml b/tasks/setup-rocky-8.yml index 27eceae..9e9f475 100644 --- a/tasks/setup-rocky-8.yml +++ b/tasks/setup-rocky-8.yml @@ -1,4 +1,10 @@ --- +- name: Fix msmtpd SELinux type context for msmtpd as a service + community.general.sefcontext: + target: '/usr/bin/msmtpd' + setype: bin_t + state: present + - name: Install msmtp yum: name: