mirror of
https://github.com/luzifer-ansible/docker-compose.git
synced 2024-12-23 01:11:16 +00:00
18 lines
312 B
YAML
18 lines
312 B
YAML
|
---
|
||
|
|
||
|
- name: Ensure pip to be available
|
||
|
apt:
|
||
|
name: python-pip
|
||
|
cache_valid_time: 86400
|
||
|
|
||
|
- name: Install or update docker-compose
|
||
|
pip:
|
||
|
name: docker-compose
|
||
|
executable: pip
|
||
|
state: latest
|
||
|
register: docker_compose
|
||
|
|
||
|
- set_fact: docker_compose_binary_path="/usr/local/bin/docker-compose"
|
||
|
|
||
|
...
|