diff --git a/test/integration/targets/ansible-playbook-callbacks/terminated-early/callbacks_list.expected b/test/integration/targets/ansible-playbook-callbacks/terminated-early/callbacks_list.expected new file mode 100644 index 00000000000..8b9282adea7 --- /dev/null +++ b/test/integration/targets/ansible-playbook-callbacks/terminated-early/callbacks_list.expected @@ -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 diff --git a/test/integration/targets/ansible-playbook-callbacks/terminated-early/exit_code.expected b/test/integration/targets/ansible-playbook-callbacks/terminated-early/exit_code.expected new file mode 100644 index 00000000000..0cfbf08886f --- /dev/null +++ b/test/integration/targets/ansible-playbook-callbacks/terminated-early/exit_code.expected @@ -0,0 +1 @@ +2 diff --git a/test/integration/targets/ansible-playbook-callbacks/terminated-early/test.yml b/test/integration/targets/ansible-playbook-callbacks/terminated-early/test.yml new file mode 100644 index 00000000000..3617b14927f --- /dev/null +++ b/test/integration/targets/ansible-playbook-callbacks/terminated-early/test.yml @@ -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