Use the new-style variable substitution

This commit is contained in:
Aurélien Bompard 2014-01-17 16:09:57 +00:00
parent e66c937bf5
commit a43be7abbb

View file

@ -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(/.*)?"