Robert Kaussow
cffe9f7dc0
All checks were successful
continuous-integration/drone/push Build is passing
22 lines
424 B
YAML
22 lines
424 B
YAML
---
|
|
- name: Restart auditd
|
|
service:
|
|
name: auditd
|
|
daemon_reload: yes
|
|
enabled: yes
|
|
state: started
|
|
when: not auditd_refuse_manual_stop | bool
|
|
listen: __auditd_restart
|
|
become: True
|
|
become_user: root
|
|
|
|
- name: Reboot server
|
|
reboot:
|
|
reboot_timeout: 600
|
|
when:
|
|
- auditd_reboot_on_change | bool
|
|
- auditd_refuse_manual_stop | bool
|
|
listen: __auditd_restart
|
|
become: True
|
|
become_user: root
|