This commit is contained in:
parent
b7ff760aae
commit
e2baa97cfd
@ -7,4 +7,5 @@
|
||||
- python2-pip
|
||||
|
||||
roles:
|
||||
- role: xoxys.python3
|
||||
- role: xoxys.docker-engine
|
||||
|
@ -1,2 +1,2 @@
|
||||
---
|
||||
- include_tasks: install.yml
|
||||
- include_tasks: setup.yml
|
||||
|
@ -11,13 +11,12 @@
|
||||
state: present
|
||||
loop: "{{ dockerengine_packages_extra }}"
|
||||
|
||||
- name: Install python dependencies
|
||||
- name: Install python requirements
|
||||
pip:
|
||||
name: "{{ item }}"
|
||||
name: "{{ item.name }}"
|
||||
executable: "{{ item.exec | default(omit) }}"
|
||||
state: present
|
||||
loop:
|
||||
- docker
|
||||
- docker-compose~=1.24.0
|
||||
loop: "{{ __docker_python_requirements }}"
|
||||
|
||||
- name: Add docker group
|
||||
group:
|
5
vars/main.yml
Normal file
5
vars/main.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
__docker_python_requirements:
|
||||
- name: docker
|
||||
- name: docker-compose
|
||||
exec: /usr/bin/pip3
|
Loading…
Reference in New Issue
Block a user