2018-08-13 15:21:33 +02:00
|
|
|
|
|
|
|
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 [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)
|
|
|
|
|
2019-10-11 00:24:31 +02:00
|
|
|
TASK [debug loop] **************************************************************
|
|
|
|
changed: [testhost] => (item=debug-1) => {
|
|
|
|
"msg": "debug-1"
|
|
|
|
}
|
|
|
|
failed: [testhost] (item=debug-2) => {
|
|
|
|
"msg": "debug-2"
|
|
|
|
}
|
|
|
|
ok: [testhost] => (item=debug-3) => {
|
|
|
|
"msg": "debug-3"
|
|
|
|
}
|
2020-08-27 21:49:53 +02:00
|
|
|
fatal: [testhost]: FAILED! => {"msg": "One or more items failed"}
|
2019-10-11 00:24:31 +02:00
|
|
|
...ignoring
|
|
|
|
|
2019-02-20 04:00:47 +01:00
|
|
|
TASK [EXPECTED FAILURE Failed task to be rescued] ******************************
|
|
|
|
fatal: [testhost]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}
|
|
|
|
|
|
|
|
TASK [Rescue task] *************************************************************
|
|
|
|
changed: [testhost]
|
2020-09-22 17:40:12 +02:00
|
|
|
|
|
|
|
TASK [include_tasks] ***********************************************************
|
2020-04-09 20:27:58 +02:00
|
|
|
included: .../test/integration/targets/callback_default/include_me.yml for testhost => (item=1)
|
|
|
|
|
|
|
|
TASK [debug] *******************************************************************
|
|
|
|
ok: [testhost] => {
|
|
|
|
"item": 1
|
|
|
|
}
|
2019-02-20 04:00:47 +01:00
|
|
|
|
2018-08-13 15:21:33 +02:00
|
|
|
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]
|
|
|
|
|
2020-09-22 17:40:12 +02:00
|
|
|
TASK [Include some tasks] ******************************************************
|
|
|
|
included: .../test/integration/targets/callback_default/include_me.yml for testhost => (item=1)
|
|
|
|
|
|
|
|
TASK [debug] *******************************************************************
|
|
|
|
ok: [testhost] => {
|
|
|
|
"item": 1
|
|
|
|
}
|
|
|
|
|
2018-08-13 15:21:33 +02:00
|
|
|
PLAY RECAP *********************************************************************
|
2020-09-22 17:40:12 +02:00
|
|
|
testhost : ok=16 changed=9 unreachable=0 failed=0 skipped=1 rescued=1 ignored=2
|
2018-08-13 15:21:33 +02:00
|
|
|
|