Skip to content

Commit a3adac4

Browse files
mkrizekoraNod
andauthored
porting guide 2.19: async_status started/finished (#2576)
* porting guide 2.19: async_status started/finished * Update docs/docsite/rst/porting_guides/porting_guide_core_2.19.rst Co-authored-by: Don Naro <[email protected]> --------- Co-authored-by: Don Naro <[email protected]>
1 parent 3464ee2 commit a3adac4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/docsite/rst/porting_guides/porting_guide_core_2.19.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,16 @@ No notable changes
688688
Modules
689689
=======
690690

691-
No notable changes
691+
* With the changes to the templating system it is no longer possible to use the ``async_status`` module's ``started`` and ``finished`` integer properties as values in conditionals as booleans are required. It is recommended to use ``started`` and ``finished`` test plugins instead, for example:
692+
693+
.. code-block:: yaml+jinja
694+
695+
- async_status:
696+
jid: '{{ registered_task_result.ansible_job_id }}'
697+
register: job_result
698+
until: job_result is finished
699+
retries: 5
700+
delay: 10
692701

693702

694703
Modules removed

0 commit comments

Comments
 (0)