16 lines
435 B
YAML
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
|