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

11 lines
243 B
YAML
Raw Normal View History

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