xoxys.jellyfin/tasks/selinux.yml
Robert Kaussow 52938efac3
All checks were successful
continuous-integration/drone/push Build is passing
add selinux settings for custom logfile location
2019-11-22 11:39:47 +01:00

16 lines
435 B
YAML

---
- block:
- name: Add SELinux file context mapping definitions
sefcontext:
target: "{{ item.target }}"
setype: "{{ item.setype }}"
state: present
loop: "{{ jellyfin_selinux_fcontext }}"
- name: Apply new SELinux file context to filesystem
command: "restorecon {{ item }}"
loop: "{{ jellyfin_selinux_restorecon }}"
changed_when: False
become: True
become_user: root