mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-06-06 01:17:54 +02:00
Fix loop_var name
This commit is contained in:
parent
7890fcf596
commit
af332bec14
@ -95,7 +95,9 @@
|
|||||||
at_least_one_user_to_modify: true
|
at_least_one_user_to_modify: true
|
||||||
when:
|
when:
|
||||||
- docker_users | length > 0
|
- docker_users | length > 0
|
||||||
- item not in ansible_facts.getent_group["docker"][2]
|
- docker_user not in ansible_facts.getent_group["docker"][2]
|
||||||
|
loop_control:
|
||||||
|
loop_var: docker_user
|
||||||
with_items: "{{ docker_users }}"
|
with_items: "{{ docker_users }}"
|
||||||
|
|
||||||
- include_tasks: docker-users.yml
|
- include_tasks: docker-users.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user