Debian Codegraph @

test/integration/targets/meta_tasks/test_end_batch.yml

raw
1 - name: Testing end_batch with strategy {{ test_strategy | default('linear') }}
2 hosts: testhost:testhost2
3 gather_facts: no
4 serial: 1
5 strategy: "{{ test_strategy | default('linear') }}"
6 tasks:
7 - debug:
8 msg: "Using end_batch, current host: {{ inventory_hostname }}, current batch: {{ ansible_play_batch }}"
9
10 - meta: end_batch
11
12 - fail:
13 msg: "Failed to end_batch, current host: {{ inventory_hostname }}, current batch: {{ ansible_play_batch }}"