From 72b9c4f8177e522cc89b9ab454762925d42a4a3e Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sun, 26 Oct 2025 07:42:19 +0100 Subject: [PATCH] fix: Use shell task --- ansible/roles/pretix/tasks/setup.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/pretix/tasks/setup.yaml b/ansible/roles/pretix/tasks/setup.yaml index 247ce2c..97f87d1 100644 --- a/ansible/roles/pretix/tasks/setup.yaml +++ b/ansible/roles/pretix/tasks/setup.yaml @@ -39,7 +39,8 @@ mode: "755" when: static_files.changed - name: Restore SELinux context - ansible.builtin.command: + #language=Shell + ansible.builtin.shell: cmd: restorecon -R -v /var/www/virtual/{{ ssh_user }}/html when: static_files.changed - name: Create service