mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Avoid shadowing loop variables. (#738)
This commit is contained in:
@@ -17,16 +17,18 @@
|
||||
register: dev_fuse_stat
|
||||
|
||||
- block:
|
||||
- include_tasks: run-test.yml
|
||||
with_fileglob:
|
||||
- "tests/*.yml"
|
||||
- include_tasks: run-test.yml
|
||||
with_fileglob:
|
||||
- "tests/*.yml"
|
||||
loop_control:
|
||||
loop_var: test_name
|
||||
|
||||
always:
|
||||
- name: "Make sure plugin is removed"
|
||||
docker_plugin:
|
||||
plugin_name: "{{ item }}"
|
||||
state: absent
|
||||
with_items: "{{ plugin_names }}"
|
||||
- name: "Make sure plugin is removed"
|
||||
docker_plugin:
|
||||
plugin_name: "{{ item }}"
|
||||
state: absent
|
||||
with_items: "{{ plugin_names }}"
|
||||
|
||||
when: docker_api_version is version('1.25', '>=') and dev_fuse_stat.stat.exists
|
||||
|
||||
|
||||
Reference in New Issue
Block a user