summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/include_import/apply/import_apply.yml
blob: 27a40861c1ed39996bcd9974231ee8b0a1b8cc5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
- hosts: testhost
  gather_facts: false
  tasks:
    - import_tasks:
        file: import_tasks.yml
        apply:
          tags:
            - foo
      tags:
        - always

    - assert:
        that:
          - include_tasks_result is defined
      tags:
        - always

    - import_role:
        name: import_role
        apply:
          tags:
            - foo
      tags:
        - always

    - assert:
        that:
          - include_role_result is defined
      tags:
        - always