mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-18 19:10:43 +01:00
Fix docker group to append group rather than set it
This commit is contained in:
parent
8c63471573
commit
e68f0cbd16
@ -3,4 +3,5 @@
|
|||||||
user:
|
user:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
group: docker
|
group: docker
|
||||||
|
append: yes
|
||||||
with_items: "{{ docker_users }}"
|
with_items: "{{ docker_users }}"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- include: setup-RedHat.yml
|
- include_tasks: setup-RedHat.yml
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
- include: setup-Debian.yml
|
- include_tasks: setup-Debian.yml
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Install Docker.
|
- name: Install Docker.
|
||||||
@ -14,8 +14,8 @@
|
|||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
- include: docker-compose.yml
|
- include_tasks: docker-compose.yml
|
||||||
when: docker_install_compose
|
when: docker_install_compose
|
||||||
|
|
||||||
- include: docker-users.yml
|
- include_tasks: docker-users.yml
|
||||||
when: docker_users
|
when: docker_users
|
||||||
|
Loading…
Reference in New Issue
Block a user