mini-beieli-server/ansible/roles/mini-beieli-lorahandler/tasks/main.yml

16 lines
415 B
YAML

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