mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Add docker_compose_v2 module (#739)
* 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.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
---
|
||||
# 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
|
||||
Reference in New Issue
Block a user