diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml index 780515bfb6..e760df464c 100644 --- a/roles/mailman/tasks/main.yml +++ b/roles/mailman/tasks/main.yml @@ -10,13 +10,13 @@ yum: pkg=policycoreutils-python state=installed - name: set the SELinux policy for the configuration directory - command: semanage fcontext -a -t etc_t "${mailman_webui_confdir}(/.*)?" + command: semanage fcontext -a -t etc_t "{{ mailman_webui_confdir }}(/.*)?" - name: set the SELinux policy for the fulltext index - command: semanage fcontext -a -t httpd_sys_content_t "${mailman_webui_basedir}/kittystore_search_index(/.*)?" + command: semanage fcontext -a -t httpd_sys_content_t "{{ mailman_webui_basedir }}/kittystore_search_index(/.*)?" - name: set the SELinux policy for the static files directory - command: semanage fcontext -a -t httpd_sys_content_t "${mailman_webui_basedir}/static(/.*)?" + command: semanage fcontext -a -t httpd_sys_content_t "{{ mailman_webui_basedir }}/static(/.*)?" - name: set the SELinux policy for the log directory command: semanage fcontext -a -t httpd_log_t "/var/log/hyperkitty(/.*)?"