ebbba-org / ansible-role-scalelite

The Ansible role for the BigBlueButton loadbalancer Scalelite
MIT License
4 stars 3 forks source link

docker_compose module has been removed at community.docker in 4.0.0 #8

Open wilkis3 opened 4 weeks ago

wilkis3 commented 4 weeks ago

Describe the bug Docker-compose v1 is not longer supported by the community.docker module up by version 4.0.0 (since last week)

To Reproduce Steps to reproduce the behavior:

  1. Run playbook on a Ubuntu 20.04

Expected behavior Everythings works

Results

ERROR! [DEPRECATED]: community.docker.docker_compose has been removed. This module uses docker-compose v1, which is End of Life since July 2022. Please migrate to community.docker.docker_compose_v2. This feature was removed from community.docker in version 4.0.0. Please update your playbooks.

The error appears to be in '/home/user/.ansible/roles/ebbba.scalelite/tasks/setup.yml': line 38, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

    - name: Tear down existing services

Informations Changelog of community.docker module

Workaround

Lock community.docker module to version 3.13.1 in requirements.yml (not tested currently)

collections:
  - name: community.docker
    version: 3.13.1
wilkis3 commented 4 weeks ago

I created a branch with docker_compose_v2 and I have a few conflicts with some other packages currently.