--- - name: Reboot hosts: all gather_facts: false become: true tasks: - name: Reboot systems (Linux) reboot: