diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml index 4f9002d9ee..85a085ea9a 100644 --- a/roles/mailman/tasks/main.yml +++ b/roles/mailman/tasks/main.yml @@ -30,6 +30,12 @@ - mailman - selinux +- name: set the SELinux policy for the templates override directory + command: semanage fcontext -a -t httpd_sys_content_t "{{ mailman_webui_basedir }}/templates(/.*)?" + tags: + - mailman + - selinux + - name: set the SELinux policy for the log directory command: semanage fcontext -a -t httpd_log_t "/var/log/hyperkitty(/.*)?" tags: