wo-bisch-server/ansible/roles/wo-bisch-lorahandler/tasks/main.yml

16 lines
406 B
YAML

---
- name: Allow apache to read files in /home/appuser/wo-bisch-web
sefcontext:
target: '/home/appuser/wo-bisch-web(/.*)?'
setype: httpd_sys_content_t
state: present
notify:
- Restore selinux context
- name: set SELinux permissions on binary
sefcontext:
target: "/home/appuser/wo-bisch-lorahandler/wo-bisch-lorahandler"
setype: bin_t
notify:
- Restore selinux context