blob: 328c0a7db178590aadfc50f9ccccf9c0239c078e (
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
|
---
# 0 expected loop-var-prefix failures
- name: pass | That should pass
ansible.builtin.debug:
var: loop_var_prefix_item
loop:
- foo
- bar
loop_control:
loop_var: loop_var_prefix_item
- name: pass | Using a block
block:
- name: pass | That should also pass
ansible.builtin.debug:
var: loop_var_prefix_item
loop:
- foo
- bar
loop_control:
loop_var: loop_var_prefix_item
- name: pass | Using alternative double underline prefix
block:
- name: pass | That should also pass
ansible.builtin.debug:
var: __some_item
loop:
- foo
- bar
loop_control:
loop_var: __some_item
|