zoneminder: More SELinux fixes

This commit is contained in:
Timo Makinen 2021-08-30 23:21:06 +00:00
parent 10b067e32e
commit 69fd8c0347

View file

@ -59,6 +59,15 @@
notify: restart zoneminder notify: restart zoneminder
when: zm_mysql_host != "localhost" when: zm_mysql_host != "localhost"
- name: loosen selinux settings
seboolean:
name: "{{ item }}"
state: true
persistent: true
with_items:
- domain_can_mmap_files
- nis_enabled
# selinux doesn't allow create this # selinux doesn't allow create this
- name: create stub web log - name: create stub web log
file: file: