File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ You can use `loop_var` to specify a prefix for loop variables and ensure they ar
66
77This rule can produce the following messages:
88
9- - ` [loop-var-prefix[missing] ` - Replace unsafe implicit ` item ` loop variable by adding ` loop_var: <loop_var_prefix>... ` .
10- - ` [loop-var-prefix[wrong] ` - Loop variable should start with <loop_var_prefix>
9+ - ` [loop-var-prefix[missing] ` - Replace any unsafe implicit ` item ` loop variable by adding ` loop_var: <loop_var_prefix>... ` .
10+ - ` [loop-var-prefix[wrong] ` - Ensure loop variables start with ` <loop_var_prefix> ` .
1111
1212This is an opt-in rule.
1313You must enable it in your Ansible-lint configuration as follows:
@@ -30,7 +30,7 @@ enable_list:
3030 loop :
3131 - foo
3232 - bar # <- These items do not have a unique prefix.
33- - name : Sets
33+ - name : Sets a prefix that is not unique.
3434 ansible.builtin.debug :
3535 var : zz_item
3636 loop :
You can’t perform that action at this time.
0 commit comments