mirror of
https://github.com/luzifer-ansible/docker-compose.git
synced 2024-11-08 21:40:01 +00:00
17 lines
312 B
YAML
17 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"
|
|
|
|
...
|