Fix docker group to append group rather than set it

This commit is contained in:
James McCallum 2017-09-26 05:09:58 +10:00
parent 8c63471573
commit e68f0cbd16
2 changed files with 5 additions and 4 deletions

View File

@ -3,4 +3,5 @@
user:
name: "{{ item }}"
group: docker
append: yes
with_items: "{{ docker_users }}"

View File

@ -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