Using "ansible-builder" to create an Execution Environment with the "redhat.openshift" collection as a requirement fails
Issue
- When building an Execution Environment using
ansible-builderwhich includes theredhat.openshiftcollection, the build process fails with the following error message:
$ ansible-builder build -f execution-environment.yml -v 3
[...]
+ /usr/bin/microdnf install -y --nodocs --setopt install_weak_deps=0 openshift-clients
Downloading metadata...
[...]
Downloading metadata...
error: No package matches 'openshift-clients'
Error: building at STEP "RUN /output/scripts/assemble": while running runtime: exit status 1
Environment
- Red Hat Ansible Automation Platform
- 2.4
- ansible-builder
- 3.0.0
- Ansible Automation Platform Certified Content: Ansible Content Collection (collection):
redhat.openshift
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.