ansible-role-docker/tasks/docker-users.yml
2022-09-05 21:32:10 -05:00

11 lines
243 B
YAML

---
- name: Ensure docker users are added to the docker group.
user:
name: "{{ item }}"
groups: docker
append: true
with_items: "{{ docker_users }}"
- name: Reset ssh connection to apply user changes.
meta: reset_connection