fix: Use shell task

This commit is contained in:
2025-10-26 07:42:19 +01:00
parent 45f2cbf96e
commit 72b9c4f817
+2 -1
View File
@@ -39,7 +39,8 @@
mode: "755" mode: "755"
when: static_files.changed when: static_files.changed
- name: Restore SELinux context - name: Restore SELinux context
ansible.builtin.command: #language=Shell
ansible.builtin.shell:
cmd: restorecon -R -v /var/www/virtual/{{ ssh_user }}/html cmd: restorecon -R -v /var/www/virtual/{{ ssh_user }}/html
when: static_files.changed when: static_files.changed
- name: Create service - name: Create service