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

OCI: Unable to install Ansible in OL8 when using OSMS

Applies To:

Oracle Cloud Infrastructure - Version N/A and later

Symptoms:

When trying to install Ansible using this document: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/ansiblegetstarted.htm , it gives the following error:

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

Cause:

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

Solution:

If you want to use OSMS, 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!