Debian Codegraph @

test/integration/targets/meta_tasks/test_end_host_fqcn.yml

raw
1 - name: "Testing end_host with strategy={{ test_strategy | default('linear') }}"
2 hosts:
3 - testhost
4 - testhost2
5 gather_facts: no
6 strategy: "{{ test_strategy | default('linear') }}"
7 tasks:
8 - debug:
9
10 - ansible.builtin.meta: end_host
11 when: "host_var_role_name == 'role2'" # end play for testhost2, see inventory
12
13 - debug:
14 msg: "play not ended for {{ inventory_hostname }}"