mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-23 16:22:59 +03:00
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`.
|
||||
|
||||
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)
|
||||
|
||||
|
@ -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: []
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user