linters: rename loop variable

In this repo we name the loop variables.  Although this is a test
playbook, it's good for consistency.  This is picked up by a later
version of ansible-lint.  This should have no operational change.

Change-Id: I084a1e8515fe1fda039190fe6518512ebf03217e
This commit is contained in:
Ian Wienand 2022-07-26 20:41:49 +10:00
parent 0956167b8c
commit df942a2aea

View File

@ -2,10 +2,12 @@
become: true become: true
file: file:
state: directory state: directory
path: "/var/registry/{{ item }}" path: "/var/registry/{{ zj_reg_dir }}"
loop: loop:
- certs - certs
- auth - auth
loop_control:
loop_var: zj_reg_dir
- name: Install python packages - name: Install python packages
become: true become: true
package: package: