6 lines
142 B
YAML
Raw Permalink Normal View History

---
- name: Reboot server
ansible.builtin.reboot:
reboot_command: "{{ custom_reboot_command | default(omit) }}"
listen: reboot server