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
|
name: docker-ce
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: install docker python bindings
|
- name: Install necessary packages via pip
|
||||||
pip:
|
pip:
|
||||||
|
name: "{{ packages }}"
|
||||||
executable: "pip3"
|
executable: "pip3"
|
||||||
name: "docker-compose"
|
vars:
|
||||||
state: present
|
packages:
|
||||||
|
- docker
|
||||||
|
- docker-compose
|
||||||
|
|
||||||
- name: create folder structure for bind mounts
|
- name: create folder structure for bind mounts
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -14,11 +14,3 @@
|
||||||
apt:
|
apt:
|
||||||
name: srvadmin-all
|
name: srvadmin-all
|
||||||
when: not vagrant
|
when: not vagrant
|
||||||
|
|
||||||
- name: Install necessary packages via pip
|
|
||||||
pip:
|
|
||||||
name: "{{ packages }}"
|
|
||||||
vars:
|
|
||||||
packages:
|
|
||||||
- docker
|
|
||||||
- docker-compose
|
|
||||||
|
|
Loading…
Reference in a new issue