From b886dcd5a4507e03c127e7d0e864b8ce3ba8d40c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 16 Oct 2024 22:37:51 +0200 Subject: [PATCH] fix: fix old package removal --- tasks/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 4bf2f51..0690ea9 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -11,11 +11,12 @@ - name: Ensure to remove old docker packages ansible.builtin.package: - name: - - docker - - docker-common - - docker-engine + name: "{{ item }}" state: absent + loop: + - docker + - docker-common + - docker-engine - name: Install packages ansible.builtin.package: