From 4a214e8b9585cffd2834ee9e8eac5f1d6df5c367 Mon Sep 17 00:00:00 2001 From: nono Date: Wed, 16 Oct 2024 19:24:01 +0000 Subject: [PATCH] Actualiser tasks/setup-redhat.yml --- tasks/setup-redhat.yml | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/tasks/setup-redhat.yml b/tasks/setup-redhat.yml index 7448c56..d67d9e6 100644 --- a/tasks/setup-redhat.yml +++ b/tasks/setup-redhat.yml @@ -1,14 +1,4 @@ --- -- name: Ensure old versions of Docker are not installed. - package: - name: - - docker-ce - - docker-ce-cli - - containerd.io - - docker-buildx-plugin - - docker-compose-plugin - state: absent - - name: Install yum-utils package. package: name: @@ -18,14 +8,4 @@ - name: Add docker-ce repository via yum-config-manager. shell: yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo args: - creates: /etc/yum.repos.d/docker-ce.repo - -- name: Install docker-ce packages. - package: - name: - - docker-ce - - docker-ce-cli - - containerd.io - - docker-buildx-plugin - - docker-compose-plugin - state: present \ No newline at end of file + creates: /etc/yum.repos.d/docker-ce.repo \ No newline at end of file