From 4833f99070a98f12766a1b66871401091318fca5 Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Tue, 24 Jan 2023 15:50:02 +0100 Subject: [PATCH] tools/appsre-ansible: workaround missing authselect-compat See PR#3237. --- tools/appsre-ansible/rpmbuild.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/appsre-ansible/rpmbuild.yml b/tools/appsre-ansible/rpmbuild.yml index b97b6b4bf..73ea4a233 100644 --- a/tools/appsre-ansible/rpmbuild.yml +++ b/tools/appsre-ansible/rpmbuild.yml @@ -25,6 +25,18 @@ activationkey: "{{ RH_ACTIVATION_KEY }}" org_id: "{{ RH_ORG_ID }}" + # Upgrading authselect without --allowerasing currently fails on RHEL 9.1 with RHUI repos + # https://issues.redhat.com/browse/RHUIOPS-84 + # TODO: remove this once the issue is fixed + - name: Upgrade authselect package + dnf: + name: authselect + state: latest + allowerasing: yes + register: result + retries: 5 + until: result is success + - name: Upgrade all packages package: name: "*"