Update setup-RedHat.yml

obsolete packages must be removed or install will fail
This commit is contained in:
rausub 2025-01-30 15:01:02 +10:00 committed by GitHub
parent 1800d2e793
commit 25e57a9257
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,10 +1,8 @@
---
- name: Ensure old versions of Docker are not installed.
- # See https://docs.docker.com/engine/install/rhel/#uninstall-old-versions
name: Ensure old versions of Docker are not installed.
package:
name:
- docker
- docker-common
- docker-engine
name: "{{ docker_obsolete_packages }}"
state: absent
- name: Add Docker GPG key.