--- - 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