--- - hosts: "{{ host_list }}" remote_user: root tasks: - name: Shutdown the host in 10 min community.general.shutdown: delay: 600