27f547b4d3
* Fix missing ansible.builtin FQCNs in hardcoded action names (#71824) * Make sure hard-coded action names also check for FQCN. * Use _add_internal_fqcn() to avoid hardcoded lists and typoes. (cherry picked from commitda60525610
) * Replace some more FQCNs. (cherry picked from commit72302dd611
)
14 lines
412 B
YAML
14 lines
412 B
YAML
- name: "Testing end_host with strategy={{ test_strategy | default('linear') }}"
|
|
hosts:
|
|
- testhost
|
|
- testhost2
|
|
gather_facts: no
|
|
strategy: "{{ test_strategy | default('linear') }}"
|
|
tasks:
|
|
- debug:
|
|
|
|
- ansible.builtin.meta: end_host
|
|
when: "host_var_role_name == 'role2'" # end play for testhost2, see inventory
|
|
|
|
- debug:
|
|
msg: "play not ended for {{ inventory_hostname }}"
|