summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/include_import/valid_include_keywords/playbook.yml
blob: c70ec81fd15df7ecd0c8427d37536625b6d329b7 (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
32
33
34
35
36
37
38
39
40
- hosts: localhost
  gather_facts: false
  handlers:
    - include_tasks:
        file: include_me_listen.yml
      listen:
        - include_me_listen

    - name: Include Me Notify
      include_tasks: include_me_notify.yml

  tasks:
    - name: Include me
      include_tasks: include_me.yml
      args:
        apply:
          tags:
            - bar
      debugger: ~
      ignore_errors: false
      loop:
        - 1
      loop_control:
        loop_var: loopy
      no_log: false
      register: this_isnt_useful
      run_once: true
      tags:
        - foo
      vars:
        baz: qux
      when: true

    - command: "true"
      notify:
        - include_me_listen

    - command: "true"
      notify:
        - Include Me Notify