1
0
Fork 0
forked from infra/ansible

[freemedia] Apply SELinux changes

sefcontext doesn't apply changes, just set's the context. Let's apply
them by using restorecon.
This commit is contained in:
Michal Konečný 2025-07-11 15:02:17 +02:00
commit 50eb5e0165

View file

@ -81,3 +81,11 @@
tags:
- config
- selinux
- name: Apply SELinux changes
ansible.builtin.command: restorecon -irv "/srv/web/freemedia/"
register: restorecon_output
changed_when: restorecon_output.stdout is defined and restorecon_output.stdout | length > 0
tags:
- mailman
- selinux