fix selinux is only for RHEL 9.3
This commit is contained in:
parent
d669ce9dfe
commit
6a87854b47
|
@ -1,10 +1,4 @@
|
|||
---
|
||||
- name: Fix msmtpd SELinux type context
|
||||
community.general.sefcontext:
|
||||
target: '/usr/bin/msmtpd'
|
||||
setype: bin_t
|
||||
state: present
|
||||
|
||||
- name: Include tasks depending on OS
|
||||
ansible.builtin.include_tasks:
|
||||
file: "{{ item }}"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue