Infra_mgmt/roles/docker/tasks/docker-users.yml

11 lines
263 B
YAML
Raw Normal View History

2023-02-12 23:18:14 +01:00
- name: Ensure docker users are added to the docker group
user:
name: "{{ item }}"
groups: docker
append: true
with_items: "{{ docker_users }}"
notify: restart docker
- name: Reset ssh connection to apply user changes.
meta: reset_connection