refactoring and cleanup
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-11-24 16:44:32 +01:00
parent b7ff760aae
commit e2baa97cfd
4 changed files with 11 additions and 6 deletions

View File

@ -7,4 +7,5 @@
- python2-pip - python2-pip
roles: roles:
- role: xoxys.python3
- role: xoxys.docker-engine - role: xoxys.docker-engine

View File

@ -1,2 +1,2 @@
--- ---
- include_tasks: install.yml - include_tasks: setup.yml

View File

@ -11,13 +11,12 @@
state: present state: present
loop: "{{ dockerengine_packages_extra }}" loop: "{{ dockerengine_packages_extra }}"
- name: Install python dependencies - name: Install python requirements
pip: pip:
name: "{{ item }}" name: "{{ item.name }}"
executable: "{{ item.exec | default(omit) }}"
state: present state: present
loop: loop: "{{ __docker_python_requirements }}"
- docker
- docker-compose~=1.24.0
- name: Add docker group - name: Add docker group
group: group:

5
vars/main.yml Normal file
View File

@ -0,0 +1,5 @@
---
__docker_python_requirements:
- name: docker
- name: docker-compose
exec: /usr/bin/pip3