mockchain always appends extra repositories to yum.conf, even if dnf is set as package manager. When both dnf.conf and yum.conf are present, dnf uses only the first one and doesn't use repos added by mockchain.
This affects only custom chroots. Attached patch for Ansible attempts to fix this issue.
CC @msuchy @clime
Patch commited.
@mizdebsk changed the status to Fixed
Fixed