diff --git a/roles/docker_setup/tasks/main.yml b/roles/docker_setup/tasks/main.yml index c61471a..fe3edec 100644 --- a/roles/docker_setup/tasks/main.yml +++ b/roles/docker_setup/tasks/main.yml @@ -75,5 +75,5 @@ name: "{{ item.logname }}" groups: docker append: yes - when: item.docker == true + when: item.docker with_items: "{{ users }}"