--- - hosts: debian become_user: root become: yes tasks: - name: reboot reboot: reboot_timeout: 600