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
|
- name: Include tasks depending on OS
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: "{{ item }}"
|
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
|
- name: Install msmtp
|
||||||
yum:
|
yum:
|
||||||
name:
|
name:
|
||||||
|
|
Loading…
Reference in a new issue