Add user to docker group functionality

This commit is contained in:
James McCallum
2017-09-03 19:21:17 +10:00
parent 2b507a374e
commit 2bf1b29d3f
3 changed files with 15 additions and 0 deletions

6
tasks/docker-users.yml Normal file
View File

@@ -0,0 +1,6 @@
---
- name: Add users to docker group
user:
name: "{{ item }}"
group: docker
with_items: "{{ docker_users }}"