From 622dc1dac736eb2b513b332a52e10b91b83f50f7 Mon Sep 17 00:00:00 2001 From: James McCallum Date: Wed, 18 Oct 2017 20:01:02 +1100 Subject: [PATCH] Update documentation --- README.md | 8 ++++---- defaults/main.yml | 2 +- tasks/docker-users.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4edabe7..91591e7 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,11 @@ Docker Compose installation options. (Used only for RedHat/CentOS.) You can enable the Edge or Test repo by setting the respective vars to `1`. -Set the docker_users variable to allow those users to run docker (these users are added to the docker group) - docker_users: - - Guy - - James + - user1 + - user2 + +Set the docker_users variable to allow those users to run docker (these users are added to the docker group) ## Use with Ansible (and `docker` Python library) diff --git a/defaults/main.yml b/defaults/main.yml index 21fdbf1..cb6b312 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -18,5 +18,5 @@ docker_yum_repo_url: https://download.docker.com/linux/centos/docker-{{ docker_e docker_yum_repo_enable_edge: 0 docker_yum_repo_enable_test: 0 -# Docker users +# A list of users who will be added to the docker group. docker_users: [] diff --git a/tasks/docker-users.yml b/tasks/docker-users.yml index fa78103..ccc1ac7 100644 --- a/tasks/docker-users.yml +++ b/tasks/docker-users.yml @@ -1,5 +1,5 @@ --- -- name: Add users to docker group +- name: Ensure docker users are added to the docker group. user: name: "{{ item }}" group: docker