ansible-role-docker/tasks/docker-users.yml

8 lines
164 B
YAML

---
- name: Ensure docker users are added to the docker group.
user:
name: "{{ item }}"
groups: docker
append: yes
with_items: "{{ docker_users }}"