xoxys.auditd/handlers/main.yml
Robert Kaussow 7c1042f7b8
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/test unknown status
ci/woodpecker/push/docs unknown status
ci/woodpecker/push/notify Pipeline was successful
refactor: switch to ansible-lint and ansible-dev-tools container
2024-08-18 16:05:11 +02:00

18 lines
388 B
YAML

---
- name: Restart auditd
ansible.builtin.service:
name: auditd
daemon_reload: True
enabled: True
state: started
when: not auditd_refuse_manual_stop | bool
listen: __auditd_restart
- name: Reboot server
ansible.builtin.reboot:
reboot_timeout: 600
when:
- auditd_reboot_on_change | bool
- auditd_refuse_manual_stop | bool
listen: __auditd_restart