Add ansible local name/cat definitions

This commit is contained in:
Chaoyi Zha 2015-06-12 19:07:47 +00:00
parent e6c0f79b68
commit 4a5cdf3fae
2 changed files with 13 additions and 1 deletions

View file

@ -16,6 +16,8 @@
- { file: config.py, location: /etc/mote }
- { file: mote.conf, location: /etc/httpd/conf.d }
- { file: mote.wsgi, location: /usr/share/mote }
- { file: category_mappings.json, location: /usr/share/mote }
- { file: name_mappings.json, location: /usr/share/mote }
tags:
- config
notify:
@ -43,3 +45,13 @@
file: >
dest=/usr/share/mote/mote.wsgi
setype=httpd_sys_content_t
- name: apply selinux type to the name mappings file
file: >
dest=/usr/share/mote/name_mappings.json
setype=httpd_sys_content_t
- name: apply selinux type to the category mappings file
file: >
dest=/usr/share/mote/category_mappings.json
setype=httpd_sys_content_t