xoxys.selinux/handlers/main.yml

11 lines
247 B
YAML
Raw Normal View History

2024-02-18 12:10:59 +00:00
---
- name: Add .autorelabel file (requires a reboot)
ansible.builtin.file:
path: /.autorelabel
mode: "0600"
state: touch
listen: __selinux_autorelabel
when:
- selinux_state == "enforcing"
- selinux_current == "disabled"