Merge pull request #463 from elsoa-invitech/change-obsolete-packages

Allow change obsolete packages
This commit is contained in:
Jeff Geerling 2024-06-27 08:32:13 -05:00 committed by GitHub
commit f35dba88d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 7 deletions

View File

@ -7,6 +7,13 @@ docker_packages:
- "docker-{{ docker_edition }}-rootless-extras"
- "containerd.io"
- docker-buildx-plugin
docker_obsolete_packages:
- docker
- docker.io
- docker-engine
- podman-docker
- containerd
- runc
docker_packages_state: present
# Service options.

View File

@ -2,13 +2,7 @@
- # See https://docs.docker.com/engine/install/debian/#uninstall-old-versions
name: Ensure old versions of Docker are not installed.
package:
name:
- docker
- docker.io
- docker-engine
- podman-docker
- containerd
- runc
name: "{{ docker_obsolete_packages }}"
state: absent
- name: Ensure dependencies are installed.