From 5a09db359d28021da22edb72a459b2fc92822fc2 Mon Sep 17 00:00:00 2001 From: Tomer Eliyahu Date: Tue, 28 Jul 2020 00:03:16 +0300 Subject: [PATCH] setup-RedHat.yml - Remove podman-manpages for centos-8.1 On CentOS-8.1, docker installation conflicts with podman-manpages - see https://github.com/containers/podman/issues/4791. Add a workaround which removes podman-manpages for CentOS 8.1. Signed-off-by: Tomer Eliyahu --- tasks/setup-RedHat.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index 6ef41de..19d9e18 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -7,6 +7,13 @@ - docker-engine state: absent +# See https://github.com/containers/podman/issues/4791 +- name: Remove conflicting podman-manpages (conflits with docker on CentOS 8.1) + package: + name: podman-manpages + state: absent + when: ansible_distribution == "CentOS" and ansible_distribution_version == "8.1" + - name: Add Docker GPG key. rpm_key: key: "{{ docker_yum_gpg_key }}"