mirror of https://github.com/ansible/ansible.git
Add callbacks testcase for terminating early
This change adds a new testcase to the ansible-playbook-callbacks
integration test that checks the callbacks fired when all hosts fail
and we terminate early.
This provides a simple regression test for issue 81549.
(cherry picked from commit 55ed0b0327
)
pull/84093/head
parent
7f65c2ee96
commit
dccea2d99b
@ -0,0 +1,10 @@
|
||||
1 __init__
|
||||
10 v2_on_any
|
||||
1 v2_playbook_on_play_start
|
||||
1 v2_playbook_on_start
|
||||
1 v2_playbook_on_stats
|
||||
2 v2_playbook_on_task_start
|
||||
1 v2_playbook_on_terminated_early
|
||||
1 v2_runner_on_failed
|
||||
1 v2_runner_on_ok
|
||||
2 v2_runner_on_start
|
@ -0,0 +1 @@
|
||||
2
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- debug:
|
||||
msg: Hello, world!
|
||||
|
||||
- fail:
|
||||
msg: Oh dear
|
||||
|
||||
- debug:
|
||||
msg: We don't get here
|
Loading…
Reference in New Issue