Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize to use Docker Compose plugin and docker_compose_v2 Ansible module #575

Closed
geerlingguy opened this issue Feb 4, 2024 · 0 comments

Comments

@geerlingguy
Copy link
Owner

geerlingguy commented Feb 4, 2024

With Docker Compose becoming a plugin in Docker (installed via apt install docker-compose-plugin and used via docker compose instead of the Python package's binary docker-compose), Ansible has also recently added a docker_compose_v2 module that is compatible with the CLI instead of the old API.

I would like to use that, and the easiest way to update Ansible to incorporate the new plugin would be to run:

ansible-galaxy collection install -r requirements.yml --force
jan-chvojka added a commit to jan-chvojka/internet-pi that referenced this issue Apr 10, 2024
commit 0ecbedb
Author: Martin Brose <13284268+martinbrose@users.noreply.github.com>
Date:   Sun Mar 3 21:43:35 2024 +0000

    Fix issue with 2 depends_on in same yaml section (geerlingguy#583)

commit 8b470f3
Author: Jeff Geerling <geerlingguy@mac.com>
Date:   Sat Feb 3 22:18:40 2024 -0600

    Issue geerlingguy#575: Update remaining instances of old docker-compose command.

commit d4170cf
Author: Jeff Geerling <geerlingguy@mac.com>
Date:   Sat Feb 3 22:06:54 2024 -0600

    Issue geerlingguy#575: Make sure handler syntax is correct for compose v2.

commit 7c20fbd
Author: Jeff Geerling <geerlingguy@mac.com>
Date:   Sat Feb 3 21:28:29 2024 -0600

    Issue geerlingguy#575: Follow-ups to make sure initial install works well.

commit 38a240b
Author: Jeff Geerling <geerlingguy@mac.com>
Date:   Sat Feb 3 21:06:11 2024 -0600

    Fixes geerlingguy#575: Use new docker_compose_v2 plugin.

commit d53939c
Author: Cedric Wille <24487628+cwille97@users.noreply.github.com>
Date:   Sat Feb 3 21:49:04 2024 -0500

    Resolve dependency issues from Debian Bookwrom and improve resolvconf update (geerlingguy#565)

    * Fix docker setup

    * Fix missing resolvconf

    * Update README

    * Fix permission issue for CI

    * Fix CI error

commit 4c0bb07
Author: Jeff Geerling <geerlingguy@mac.com>
Date:   Sat Feb 3 20:47:53 2024 -0600

    Fixes geerlingguy#569: Updated instructions inside Internet Monitoring directory.

commit 7925370
Author: James Byers <jbyers@gmail.com>
Date:   Tue Aug 22 04:29:56 2023 +0200

    Set allowUiUpdates: true to allow saving dashboard state and adding new dashboards (geerlingguy#541)

commit c8d3f40
Author: Nick Bachicha <nicksterx@gmail.com>
Date:   Wed Aug 16 18:46:38 2023 -0600

    Add missing Buster backports apt keys (geerlingguy#538)

commit 98c83ad
Author: jerzerisz <41599996+jerzerisz@users.noreply.github.com>
Date:   Mon Jul 17 22:24:01 2023 -0400

    update container tags to :latest (geerlingguy#524)

    added volume: - /etc/localtime:/etc/localtime:ro to syncronize time & timezone to containers

commit 7657dd9
Author: Jeff Geerling <geerlingguy@mac.com>
Date:   Mon Jul 10 16:53:19 2023 -0500

    Fixing some linting.

commit e3d1875
Author: Jeff Geerling <geerlingguy@mac.com>
Date:   Mon Jul 10 16:48:27 2023 -0500

    Make stale workflow run to test it.

commit 088962e
Author: Jeff Geerling <geerlingguy@mac.com>
Date:   Mon Jul 10 16:46:43 2023 -0500

    Move stale workflow into workflows directory.

commit a7705f9
Author: jerzerisz <41599996+jerzerisz@users.noreply.github.com>
Date:   Mon Jul 10 17:38:01 2023 -0400

    update stale actions per: (geerlingguy#529)

    https://docs.github.com/en/actions/managing-issues-and-pull-requests/closing-inactive-issues

commit e605493
Author: Gianpaolo Macario <gmacario@gmail.com>
Date:   Tue Jun 13 06:30:11 2023 +0200

    README.md: Use relative URL for images (geerlingguy#517)

    Small fix to be able to display inline images
    when the repository is imported as a git submodule

commit f4de972
Author: Jeff Geerling <geerlingguy@mac.com>
Date:   Mon Feb 20 22:38:08 2023 -0600

    Some Linty fixes.

commit 861e0f4
Author: Jeff Geerling <geerlingguy@mac.com>
Date:   Mon Feb 20 21:22:01 2023 -0600

    Issue geerlingguy#492: Update pi-hole tasks to use path from first task.
HillLiu added a commit to HillLiu/docker-ansible that referenced this issue Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant