xoxys.jellyfin/tasks/selinux.yml

16 lines
435 B
YAML
Raw Normal View History

---
- 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