Update documentation

This commit is contained in:
James McCallum 2017-10-18 20:01:02 +11:00
parent 4f1a0f3d91
commit 622dc1dac7
3 changed files with 6 additions and 6 deletions

View File

@ -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`. (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: docker_users:
- Guy - user1
- James - 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) ## Use with Ansible (and `docker` Python library)

View File

@ -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_edge: 0
docker_yum_repo_enable_test: 0 docker_yum_repo_enable_test: 0
# Docker users # A list of users who will be added to the docker group.
docker_users: [] docker_users: []

View File

@ -1,5 +1,5 @@
--- ---
- name: Add users to docker group - name: Ensure docker users are added to the docker group.
user: user:
name: "{{ item }}" name: "{{ item }}"
group: docker group: docker