Fix loop_var name

This commit is contained in:
Filipe Marcelino 2024-09-02 01:33:35 +01:00
parent 7890fcf596
commit af332bec14

View File

@ -95,7 +95,9 @@
at_least_one_user_to_modify: true
when:
- 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 }}"
- include_tasks: docker-users.yml