Debian Codegraph @

ansible_collections/theforeman/foreman/tests/callback/three_hosts.yml

raw symbols SCIP
1 ---
2 - hosts: testhost
3 gather_facts: false
4 vars:
5 foo: foo bar
6 crypt: !vault |
7 $ANSIBLE_VAULT;1.1;AES256
8 62343962363339363461373565656663663734393265636161313466326163666638333735303061
9 6134346238366533616262663462396332363535363662660a323339326635373330633230336332
10 38363334373037356466383063616532656632303636333839313831626264386132386661303535
11 3864663564356332390a633631363962353163316236323038363861623763616265343762366435
12 6237
13 tasks:
14 - name: Changed task
15 command: echo foo
16 changed_when: true
17 notify: test handlers
18
19 - name: Ok task
20 command: echo foo
21 changed_when: false
22
23 - name: Failed task
24 fail:
25 msg: no reason
26 ignore_errors: true
27
28 - name: Skipped task
29 command: echo foo
30 when: false
31
32 - name: Task with var in name ({{ foo }})
33 command: echo foo
34
35 - name: Loop task
36 command: echo foo
37 loop:
38 - 1
39 - 2
40 - 3
41 loop_control:
42 label: foo-{{ item }}
43
44 - name: Vault command
45 command: echo {{ crypt }}
46
47 - name: Vault fact
48 set_fact:
49 geheim: "{{ crypt }}"
50 crypt: !vault |
51 $ANSIBLE_VAULT;1.1;AES256
52 62343962363339363461373565656663663734393265636161313466326163666638333735303061
53 6134346238366533616262663462396332363535363662660a323339326635373330633230336332
54 38363334373037356466383063616532656632303636333839313831626264386132386661303535
55 3864663564356332390a633631363962353163316236323038363861623763616265343762366435
56 6237
57 unsafe: !unsafe |
58 THIS IS {{ crypt }}
59
60 handlers:
61 - name: Test handler 1
62 command: echo foo
63 listen: test handlers
64
65 - name: Test handler 2
66 command: echo foo
67 changed_when: false
68 listen: test handlers
69
70 - name: Test handler 3
71 command: echo foo
72 listen: test handlers
73
74 - hosts:
75 - testhostA
76 - testhostB
77 gather_facts: false
78 tasks:
79 - name: Changed task
80 command: echo foo
81 changed_when: true
82
83 - name: Ok task
84 command: echo foo
85 changed_when: false
86
87 - name: Failed task
88 fail:
89 msg: no reason
90 ignore_errors: true
91
92 - name: Skipped task
93 command: echo foo
94 when: false