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: "*"