OCI: Unable to install Ansible in OL8 when using OSMH — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
Get Started with Redwood: Oracle Cloud SCM and Purchasing

OCI: Unable to install Ansible in OL8 when using OSMH

edited Apr 24, 2025 9:12AM in Linux

Applies To:

Oracle Cloud Infrastructure - Version N/A and later

Symptoms:

When trying to install Ansible using this document: , it gives the following error:

$ sudo yum install oci-ansible-collection --enablerepo ol8_developer --enablerepo ol8_developer_EPELThis system is receiving updates from OSMH server.Error: Unknown repo: 'ol8_developer'

Cause:

The "--enablerepo ol8_developer --enablerepo ol8_developer_EPEL" is not supported when you have OSMH enabled. the channels are available from OSMH, but the name is different than how it reports when using yum directly.

Solution:

If you want to use OSMH, you will have to add the repos after the instance is launched, Use the "Adding Software Sources" and add this one "Oracle Linux 8 EPEL Packages for Development (x86_64)" and this one "Oracle Linux 8 Development Packages (x86_64)".

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!