--- - name: Reboot server become: true reboot: reboot_command: "{{ custom_reboot_command | default(omit) }}" listen: reboot server