ansible/roles/geerlingguy.docker/tasks/docker-users.yml

8 lines
165 B
YAML

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