Update documentation
This commit is contained in:
parent
4f1a0f3d91
commit
622dc1dac7
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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: []
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user