mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-05-01 01:15:16 +02:00
14 lines
296 B
YAML
14 lines
296 B
YAML
---
|
|
- name: Ensure docker users are added to the docker group.
|
|
become: true
|
|
user:
|
|
name: "{{ muser }}"
|
|
groups: docker
|
|
append: true
|
|
loop_control:
|
|
loop_var: muser
|
|
with_items: "{{ docker_users }}"
|
|
|
|
- name: Reset ssh connection to apply user changes.
|
|
meta: reset_connection
|