summaryrefslogtreecommitdiffstats
path: root/test/unittests/scripts/inc2/main.yml
blob: 4910696bb3e0b1c12162cdf64c881e563fde3ad3 (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
---
- version: 2.2
  shortdesc: Includes another script
  longdesc: This one includes another script
  parameters:
    - name: wiz
      type: string
    - name: foo
      type: boolean
      shortdesc: A different foo
  include:
    - script: inc1
      name: included-script
      parameters:
        - name: is-required
          value: 33
  actions:
    - call: "echo 'before {{wiz}}'"
      shortdesc: before wiz
    - include: included-script
    - call: "echo 'after {{foo}}'"
      shortdesc: after foo
    - cib: |
        {{included-script:is-required}}
    - cib: |
        {{wiz}}