xoxys.auditd/handlers/main.yml
Robert Kaussow e4d7193540
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
ci: migrate to woodpecker
2024-02-18 20:39:59 +01:00

18 lines
386 B
YAML

---
- name: Restart auditd
ansible.builtin.service:
name: auditd
daemon_reload: yes
enabled: yes
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