d86d20a378
* Replace included_file._args w/ included_file._vars * Fix item value in output of include_tasks loop Signed-off-by: Yadnyawalk Tale <ytale@redhat.com> * Update tests for loop callback fix. Add changelog Co-authored-by: Yadnyawalk Tale <ytale@redhat.com> Fixes #65904 Fixes #66018
52 lines
1.9 KiB
Text
52 lines
1.9 KiB
Text
|
|
PLAY [testhost] ****************************************************************
|
|
|
|
TASK [Changed task] ************************************************************
|
|
changed: [testhost]
|
|
|
|
TASK [Failed task] *************************************************************
|
|
fatal: [testhost]: FAILED! => {"changed": false, "msg": "no reason"}
|
|
...ignoring
|
|
|
|
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 [debug loop] **************************************************************
|
|
changed: [testhost] => (item=debug-1) => {
|
|
"msg": "debug-1"
|
|
}
|
|
failed: [testhost] (item=debug-2) => {
|
|
"msg": "debug-2"
|
|
}
|
|
fatal: [testhost]: FAILED! => {"msg": "All items completed"}
|
|
...ignoring
|
|
|
|
TASK [EXPECTED FAILURE Failed task to be rescued] ******************************
|
|
fatal: [testhost]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}
|
|
|
|
TASK [Rescue task] *************************************************************
|
|
changed: [testhost]
|
|
included: .../test/integration/targets/callback_default/include_me.yml for testhost => (item=1)
|
|
|
|
RUNNING HANDLER [Test handler 1] ***********************************************
|
|
changed: [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=14 changed=9 unreachable=0 failed=0 skipped=1 rescued=1 ignored=2
|
|
|