18 lines
386 B
YAML
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
|