- hosts: alpine gather_facts: false tasks: - name: poweroff command: poweroff become: true ignore_errors: true