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