mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-17 12:28:55 +00:00
* Add docker_compose_v2 module. * Add note on compatibility. * Parse more events. Emit warnings (or things we assume are warnings), and report unparsable messages to the user so they can report them to us.
14 lines
455 B
YAML
14 lines
455 B
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
- name: Compose is available from Alpine 3.15 on
|
|
set_fact:
|
|
docker_has_compose: "{{ ansible_facts.distribution_version is version('3.15', '>=') }}"
|
|
|
|
- name: Install Docker compose CLI plugin
|
|
apk:
|
|
name: docker-cli-compose
|
|
when: docker_has_compose
|