mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Add mote and selinux tags to mote role
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
- mote
|
- mote
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
- mote
|
||||||
|
|
||||||
- name: replace the mote configuration file by the one with the normal user
|
- name: replace the mote configuration file by the one with the normal user
|
||||||
template: src={{ item.file }}
|
template: src={{ item.file }}
|
||||||
@@ -20,6 +21,7 @@
|
|||||||
- { file: name_mappings.json, location: /usr/share/mote }
|
- { file: name_mappings.json, location: /usr/share/mote }
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
- mote
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
|
||||||
@@ -29,6 +31,7 @@
|
|||||||
- mote-updater
|
- mote-updater
|
||||||
tags:
|
tags:
|
||||||
- services
|
- services
|
||||||
|
- mote
|
||||||
|
|
||||||
- name: apply selinux type to static files
|
- name: apply selinux type to static files
|
||||||
file: >
|
file: >
|
||||||
@@ -36,29 +39,48 @@
|
|||||||
setype=httpd_sys_content_t
|
setype=httpd_sys_content_t
|
||||||
state=directory
|
state=directory
|
||||||
recurse=yes
|
recurse=yes
|
||||||
|
tags:
|
||||||
|
- mote
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: apply selinux type to meetbot files
|
- name: apply selinux type to meetbot files
|
||||||
file: >
|
file: >
|
||||||
dest=/srv/web/meetbot/
|
dest=/srv/web/meetbot/
|
||||||
setype=httpd_sys_content_t
|
setype=httpd_sys_content_t
|
||||||
state=directory
|
state=directory
|
||||||
recurse=yes
|
recurse=yes
|
||||||
|
tags:
|
||||||
|
- mote
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: set sebooleans so apache can use memcached
|
- name: set sebooleans so apache can use memcached
|
||||||
action: seboolean name=httpd_can_network_memcache
|
action: seboolean name=httpd_can_network_memcache
|
||||||
state=true
|
state=true
|
||||||
persistent=true
|
persistent=true
|
||||||
|
tags:
|
||||||
|
- mote
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: apply selinux type to the wsgi file
|
- name: apply selinux type to the wsgi file
|
||||||
file: >
|
file: >
|
||||||
dest=/usr/share/mote/mote.wsgi
|
dest=/usr/share/mote/mote.wsgi
|
||||||
setype=httpd_sys_content_t
|
setype=httpd_sys_content_t
|
||||||
|
tags:
|
||||||
|
- mote
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: apply selinux type to the name mappings file
|
- name: apply selinux type to the name mappings file
|
||||||
file: >
|
file: >
|
||||||
dest=/usr/share/mote/name_mappings.json
|
dest=/usr/share/mote/name_mappings.json
|
||||||
setype=httpd_sys_content_t
|
setype=httpd_sys_content_t
|
||||||
|
tags:
|
||||||
|
- mote
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: apply selinux type to the category mappings file
|
- name: apply selinux type to the category mappings file
|
||||||
file: >
|
file: >
|
||||||
dest=/usr/share/mote/category_mappings.json
|
dest=/usr/share/mote/category_mappings.json
|
||||||
setype=httpd_sys_content_t
|
setype=httpd_sys_content_t
|
||||||
|
tags:
|
||||||
|
- mote
|
||||||
|
- selinux
|
||||||
|
|||||||
Reference in New Issue
Block a user