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

12 lines
247 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 }}"
- name: Reset ssh connection to apply users changes
meta:
reset_connection