Skip to content

Commit

Permalink
Added missing state callback (#914)
Browse files Browse the repository at this point in the history
Added missing state callback

As per https://github.com/ansible/ansible-runner/blob/devel/ansible_runner/runner.py#L366

Reviewed-by: Sam Doran <sdoran@redhat.com>
Reviewed-by: None <None>
  • Loading branch information
BramVer committed Nov 9, 2021
1 parent 5188fc8 commit ef37547
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/python_interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ This function will be called any time the ``status`` changes, expected values ar
* `canceled`: The task was manually canceled either via callback or the cli
* `timeout`: The timeout configured in Runner Settings was reached (see :ref:`runnersettings`)
* `failed`: The **Ansible** process failed
* `successful`: The **Ansible** process succeeded

Usage examples
--------------
Expand Down

0 comments on commit ef37547

Please sign in to comment.