os_type: rhel os_version: "8.4" overrides: selinux: whitelist: - scontext=system_u:system_r:logrotate_t:s0 tasks: - pexec: all: - sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup - sudo dnf -y module reset container-tools - sudo dnf -y module install container-tools:rhel8 - sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf