mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-23 19:06:54 +01:00
Allow change obsolete packages
This commit is contained in:
parent
c0ce31085c
commit
5b3eea8f97
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user