mirror of https://github.com/ansible/ansible.git
Ensure end_play ends play, not batch (#74332)
* Ensure end_play ends play, not batch Fixes #73971 ci_complete * Preserve result * Move AnsibleEndPlay to TQM * Add tests * Add changelog * Explaining comment * Fix changelog name * ci_completepull/74899/head
parent
fe20546d36
commit
e201b542be
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Ensure end_play ends play, not batch (https://github.com/ansible/ansible/issues/73971)
|
||||
@ -0,0 +1,13 @@
|
||||
- name: Testing end_play with serial 1 and strategy {{ test_strategy | default('linear') }}
|
||||
hosts: testhost:testhost2
|
||||
gather_facts: no
|
||||
serial: 1
|
||||
strategy: "{{ test_strategy | default('linear') }}"
|
||||
tasks:
|
||||
- debug:
|
||||
msg: "Testing end_play on host {{ inventory_hostname }}"
|
||||
|
||||
- meta: end_play
|
||||
|
||||
- fail:
|
||||
msg: 'Failed to end using end_play'
|
||||
Loading…
Reference in New Issue