From ae93dc16251fa5dbe1b85381a3f75990ccf5beac Mon Sep 17 00:00:00 2001 From: Andrei Stepanov Date: Mar 21 2019 12:41:26 +0000 Subject: Remove yum4/internal package for RHEL8 support. Signed-off-by: Andrei Stepanov --- diff --git a/roles/str-common-pkgs/tasks/main.yml b/roles/str-common-pkgs/tasks/main.yml index 7388351..bab6f63 100644 --- a/roles/str-common-pkgs/tasks/main.yml +++ b/roles/str-common-pkgs/tasks/main.yml @@ -27,7 +27,6 @@ 'rpm-ostree' if (is_atomic and (ansible_pkg_mgr == 'unknown' or ansible_pkg_mgr == 'atomic_container')) - else 'yum4' if is_rhel8_based else ansible_pkg_mgr }} diff --git a/roles/str-common-pkgs/tasks/pkgs-dnf.yml b/roles/str-common-pkgs/tasks/pkgs-dnf.yml index 67c8ef1..1d20621 100644 --- a/roles/str-common-pkgs/tasks/pkgs-dnf.yml +++ b/roles/str-common-pkgs/tasks/pkgs-dnf.yml @@ -23,6 +23,7 @@ # Copr repos required by roles - "{{ role_copr_repos_req|d|list }}" ignore_errors: True + when: distro_name == "fedora" - name: Install test-specific package requirements # Note, this method cannot install -debuginfo packages.