[mailman3] Add missing SELinux policies
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
19fe021877
commit
0079d06eea
1 changed files with 18 additions and 0 deletions
|
@ -416,6 +416,24 @@
|
||||||
- mailman
|
- mailman
|
||||||
- selinux
|
- selinux
|
||||||
|
|
||||||
|
- name: Set the SELinux policy for the static files directory
|
||||||
|
community.general.sefcontext:
|
||||||
|
target: "{{ mailman_webui_basedir }}/static(/.*)?"
|
||||||
|
setype: httpd_sys_content_t
|
||||||
|
state: present
|
||||||
|
tags:
|
||||||
|
- mailman
|
||||||
|
- selinux
|
||||||
|
|
||||||
|
- name: Set the SELinux policy for the templates override directory
|
||||||
|
community.general.sefcontext:
|
||||||
|
target: "{{ mailman_webui_basedir }}/templates(/.*)?"
|
||||||
|
setype: httpd_sys_content_t
|
||||||
|
state: present
|
||||||
|
tags:
|
||||||
|
- mailman
|
||||||
|
- selinux
|
||||||
|
|
||||||
# Start services
|
# Start services
|
||||||
- name: Start services
|
- name: Start services
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue