mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-28 19:06:03 +01:00
11 lines
243 B
YAML
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
|