Initial commit

This commit is contained in:
2021-04-09 19:57:32 +02:00
commit fecc1d77d4
25 changed files with 637 additions and 0 deletions
@@ -0,0 +1,3 @@
---
- name: Restore selinux context
command: restorecon -irv /home/beieli
@@ -0,0 +1,15 @@
---
- 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