summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/meta_tasks/test_end_play_fqcn.yml
blob: 2ae67fbea201d451f6c6d5a2e64a5c4145756632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- name: Testing end_play with strategy {{ test_strategy | default('linear') }}
  hosts: testhost:testhost2
  gather_facts: no
  strategy: "{{ test_strategy | default('linear') }}"
  tasks:
    - debug:
        msg: "Testing end_play on host {{ inventory_hostname }}"

    - ansible.builtin.meta: end_play

    - fail:
        msg: 'Failed to end using end_play'