moved docker compose from manual installation to system package

This commit is contained in:
Bryan Joshua Pedini 2022-07-08 11:30:02 +02:00
parent 1f98550eed
commit 61dcd0580b
1 changed files with 5 additions and 6 deletions

View File

@ -1,9 +1,8 @@
---
- name: ensure Docker Compose v2 is installed and latest version
ansible.builtin.get_url:
url: "https://github.com/docker/compose/releases/latest/download/docker-compose-{{ ansible_facts.system }}-{{ ansible_facts.architecture }}"
dest: /usr/libexec/docker/cli-plugins/docker-compose
owner: root
group: root
mode: 0755
ansible.builtin.apt:
update_cache: yes
name:
- docker-compose-plugin
state: latest
when: ansible_facts.os_family == "Debian"