From 3e078e2d9edbec1f951fbeee7e956f02b85b5e9f Mon Sep 17 00:00:00 2001 From: Mauro Ezequiel Moltrasio Date: Thu, 20 Jun 2024 17:38:50 +0200 Subject: [PATCH] Disable failing repo --- ansible/roles/provision-vm/tasks/redhat.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ansible/roles/provision-vm/tasks/redhat.yml b/ansible/roles/provision-vm/tasks/redhat.yml index 69cc403e79..9c866fd28a 100644 --- a/ansible/roles/provision-vm/tasks/redhat.yml +++ b/ansible/roles/provision-vm/tasks/redhat.yml @@ -25,6 +25,11 @@ until: registration is not failed when: vm_arch == "ppc64le" or vm_arch == "s390x" +- name: Disable troublesome repo + ansible.builtin.shell: | + dnf config-manager --disable rhui-codeready-builder-for-rhel-8-x86_64-rhui-source-rpms + when: vm_config.find('-8') != -1 + - name: Install needed utilities ansible.builtin.dnf: name: