mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-25 00:54:40 +03: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
|