forked from data.coop/ansible
Don't install python bindings for docker-compose twice
This commit is contained in:
parent
f1737bb9c8
commit
a1ac25b56d
|
@ -16,11 +16,14 @@
|
|||
name: docker-ce
|
||||
state: present
|
||||
|
||||
- name: install docker python bindings
|
||||
- name: Install necessary packages via pip
|
||||
pip:
|
||||
name: "{{ packages }}"
|
||||
executable: "pip3"
|
||||
name: "docker-compose"
|
||||
state: present
|
||||
vars:
|
||||
packages:
|
||||
- docker
|
||||
- docker-compose
|
||||
|
||||
- name: create folder structure for bind mounts
|
||||
file:
|
||||
|
|
|
@ -14,11 +14,3 @@
|
|||
apt:
|
||||
name: srvadmin-all
|
||||
when: not vagrant
|
||||
|
||||
- name: Install necessary packages via pip
|
||||
pip:
|
||||
name: "{{ packages }}"
|
||||
vars:
|
||||
packages:
|
||||
- docker
|
||||
- docker-compose
|
||||
|
|
Loading…
Reference in a new issue