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