switched removing obsolete packages to variable #472

This commit is contained in:
Mathias Palmersheim 2024-12-22 15:40:46 -06:00 committed by GitHub
parent a9bd86ebad
commit 46113ccf86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,10 +1,7 @@
---
- 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.