Install dnf-config-manager before using it

The container image centos:stream9 does not come with
'dnf config-manager' preinstalled, forcing us to install it first.

Fixes: rhbz#2186917
This commit is contained in:
Tulio Magno Quites Machado Filho 2023-04-14 14:41:31 -03:00
parent 8179dc9c67
commit 5e3b48c191

View File

@ -33,7 +33,7 @@ adjust:
prepare+:
- name: Enable CRB
how: shell
script: dnf config-manager --set-enabled crb
script: dnf install -y 'dnf-command(config-manager)' && dnf config-manager --set-enabled crb
when: >-
distro == centos