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

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