Don't install python bindings for docker-compose twice

This commit is contained in:
Sam A. 2022-12-22 18:20:25 +01:00
parent f1737bb9c8
commit a1ac25b56d
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 6 additions and 11 deletions

View file

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

View 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