ansible.builtin.finished (v2.16.5) — test

Did async task finish

| "added in version" 1.9 of ansible.builtin"

Authors: Ansible Core

Install Ansible via pip

Install with pip install ansible-core==2.16.5

Description

Used to test if an async task has finished, it will aslo work with normal tasks but will issue a warning.

This test checks for the existance of a C(finished) key in the input dictionary and that it is V(1) if present

Inputs

    
_input:
    description: registered result from an Ansible task
    required: true
    type: dictionary

Outputs

_value:
  description: Returns V(True) if the aysnc task has finished, V(False) otherwise.
  type: boolean