aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/docker/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/docker/tasks/main.yaml')
-rw-r--r--fdio.infra.ansible/roles/docker/tasks/main.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/fdio.infra.ansible/roles/docker/tasks/main.yaml b/fdio.infra.ansible/roles/docker/tasks/main.yaml
index 773cbf7a5b..d40e1a44c1 100644
--- a/fdio.infra.ansible/roles/docker/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/docker/tasks/main.yaml
@@ -75,11 +75,9 @@
- name: Conf - Users to Docker Group
user:
- name: "{{ item }}"
+ name: "{{ ansible_user }}"
groups: "docker"
append: True
- loop: "{{ docker_users }}"
- when: docker_users
tags:
- docker-conf-user