Merge "Add golang based docker compose tool."
This commit is contained in:
commit
0edbecd516
@ -1,2 +1,3 @@
|
|||||||
use_upstream_docker: True
|
use_upstream_docker: True
|
||||||
docker_update_channel: stable
|
docker_update_channel: stable
|
||||||
|
with_python_compose: True
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
- name: Install docker
|
- name: Install docker
|
||||||
become: yes
|
become: yes
|
||||||
package:
|
package:
|
||||||
name: docker.io
|
name:
|
||||||
|
- docker.io
|
||||||
|
- docker-compose-v2
|
||||||
state: present
|
state: present
|
||||||
|
@ -34,11 +34,14 @@
|
|||||||
- libssl-dev
|
- libssl-dev
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: ensure pip3 is installed
|
- name: Install python docker-compose if needed
|
||||||
|
when: with_python_compose|bool
|
||||||
|
block:
|
||||||
|
- name: ensure pip3 is installed
|
||||||
include_role:
|
include_role:
|
||||||
name: pip3
|
name: pip3
|
||||||
|
|
||||||
- name: Install docker-compose
|
- name: Install docker-compose
|
||||||
pip:
|
pip:
|
||||||
name:
|
name:
|
||||||
# The explicit pin of requests is a temporary workaround to getting
|
# The explicit pin of requests is a temporary workaround to getting
|
||||||
|
@ -49,6 +49,8 @@
|
|||||||
- name: Install docker
|
- name: Install docker
|
||||||
become: yes
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
name: docker-ce
|
name:
|
||||||
|
- docker-ce
|
||||||
|
- docker-compose-plugin
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user