geerlingguy.ansible-role-do.../tasks/docker-users.yml

11 lines
243 B
YAML
Raw Permalink Normal View History

2017-09-03 11:21:17 +02:00
---
2017-10-18 11:01:02 +02:00
- name: Ensure docker users are added to the docker group.
2017-09-03 11:21:17 +02:00
user:
name: "{{ item }}"
groups: docker
2018-09-27 05:13:32 +02:00
append: true
2017-09-03 11:21:17 +02:00
with_items: "{{ docker_users }}"
2022-09-06 04:32:10 +02:00
- name: Reset ssh connection to apply user changes.
meta: reset_connection