Fix docker group to append group rather than set it
This commit is contained in:
parent
8c63471573
commit
e68f0cbd16
|
@ -3,4 +3,5 @@
|
|||
user:
|
||||
name: "{{ item }}"
|
||||
group: docker
|
||||
append: yes
|
||||
with_items: "{{ docker_users }}"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
- include: setup-RedHat.yml
|
||||
- include_tasks: setup-RedHat.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- include: setup-Debian.yml
|
||||
- include_tasks: setup-Debian.yml
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Install Docker.
|
||||
|
@ -14,8 +14,8 @@
|
|||
state: started
|
||||
enabled: yes
|
||||
|
||||
- include: docker-compose.yml
|
||||
- include_tasks: docker-compose.yml
|
||||
when: docker_install_compose
|
||||
|
||||
- include: docker-users.yml
|
||||
- include_tasks: docker-users.yml
|
||||
when: docker_users
|
||||
|
|
Loading…
Reference in New Issue
Block a user