be9f07279e
* Adding rescued/ignored tasks to stats gathering Fixes #31245 * Amend integration tests to pass * callback/dense.py: fix too-many-format-args * Add changelog * Amend counter_enabled and unixy callbacks * Fix syntax error * Fix typo in the changelog * Remove not needed comment * Re-add skipped * Add test for rescued * Fix colors... * Fix unstable tests? * Add a note to the porting guide * Re-word the note in the porting guide Fixes #20346 Fixes #24525 Fixes #14393 Co-authored-by: James Cammarata <jimi@sngx.net> Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
50 lines
1.9 KiB
Text
50 lines
1.9 KiB
Text
|
|
PLAY [testhost] ****************************************************************
|
|
|
|
TASK [Changed task] ************************************************************
|
|
changed: [testhost]
|
|
|
|
TASK [Ok task] *****************************************************************
|
|
ok: [testhost]
|
|
|
|
TASK [Failed task] *************************************************************
|
|
fatal: [testhost]: FAILED! => {"changed": false, "msg": "no reason"}
|
|
...ignoring
|
|
|
|
TASK [Skipped task] ************************************************************
|
|
skipping: [testhost]
|
|
|
|
TASK [Task with var in name (foo bar)] *****************************************
|
|
changed: [testhost]
|
|
|
|
TASK [Loop task] ***************************************************************
|
|
changed: [testhost] => (item=foo-1)
|
|
changed: [testhost] => (item=foo-2)
|
|
changed: [testhost] => (item=foo-3)
|
|
|
|
TASK [EXPECTED FAILURE Failed task to be rescued] ******************************
|
|
fatal: [testhost]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}
|
|
|
|
TASK [Rescue task] *************************************************************
|
|
changed: [testhost]
|
|
|
|
RUNNING HANDLER [Test handler 1] ***********************************************
|
|
changed: [testhost]
|
|
|
|
RUNNING HANDLER [Test handler 2] ***********************************************
|
|
ok: [testhost]
|
|
|
|
RUNNING HANDLER [Test handler 3] ***********************************************
|
|
changed: [testhost]
|
|
|
|
PLAY [testhost] ****************************************************************
|
|
|
|
TASK [First free task] *********************************************************
|
|
changed: [testhost]
|
|
|
|
TASK [Second free task] ********************************************************
|
|
changed: [testhost]
|
|
|
|
PLAY RECAP *********************************************************************
|
|
testhost : ok=11 changed=8 unreachable=0 failed=0 skipped=1 rescued=1 ignored=1
|
|
|