Install with a Helm chart
The following procedures describe how to install Ansible plug-ins in Red Hat Developer Hub instances on Red Hat OpenShift Container Platform using a Helm chart.
The workflow is as follows:
- Download the Ansible plug-ins files.
- Create a plug-in registry in your OpenShift cluster to host the Ansible plug-ins.
- Add the plug-ins to the Helm chart.
- Create a custom ConfigMap.
- Add your custom ConfigMap to your Helm chart.
- Edit your custom ConfigMap and Helm chart according to the required and optional configuration procedures.
Note You can save changes to your Helm and ConfigMap after each update to your configuration. You do not have to make all the changes to these files in a single session.
Prerequisites Copy linkLink copied!
To proceed, you must have Red Hat Developer Hub installed on Red Hat OpenShift Container Platform (OCP) and a valid subscription to Red Hat Ansible Automation Platform.
- Red Hat Developer Hub installed on Red Hat OpenShift Container Platform.
- For Helm installation, follow the steps in the Installing Red Hat Developer Hub on OpenShift Container Platform with the Helm chart section of Installing Red Hat Developer Hub on OpenShift Container Platform.
- For Operator installation, follow the steps in the Installing Red Hat Developer Hub on OpenShift Container Platform with the Operator section of Installing Red Hat Developer Hub on OpenShift Container Platform.
- A valid subscription to Red Hat Ansible Automation Platform.
- An OpenShift Container Platform instance with the appropriate permissions within your project to create an application.
- The Red Hat Developer Hub instance can query the automation controller API.
- Optional: To use the integrated learning paths, you must have outbound access to developers.redhat.com.
Recommended RHDH preconfiguration Copy linkLink copied!
Red Hat recommends performing the following initial configuration tasks in Red Hat Developer Hub (RHDH). However, you can install the Ansible plug-ins for Red Hat Developer Hub before completing these tasks.
- Authentication in Red Hat Developer Hub
- Authorization in Red Hat Developer Hub
Red Hat provides a repository of software templates for RHDH that uses the publish:github action. To use these software templates, you must install the required GitHub dynamic plugins.
Choose a plug-in delivery method Copy linkLink copied!
Ansible plug-ins for Red Hat Developer Hub support two delivery methods. Choose the method that fits your environment.
Ansible automation portal supports two plug-in delivery methods:
- OCI container delivery (recommended): Ansible automation portal automatically pulls an Open Container Initiative (OCI) container from
registry.redhat.iothat contains the plug-ins. Use this method for new installations. - HTTP plug-in registry (deprecated): Manually create an HTTP plug-in registry that hosts plug-in tarball files. This method is deprecated and will be removed in a future release of Ansible Automation Platform. Existing installations that use this method should migrate to OCI container delivery.
If you are installing Ansible automation portal in a disconnected or air-gapped OpenShift Container Platform environment, complete the pre-installation configuration in this chapter and then follow the procedures in the disconnected installation chapter. The disconnected installation chapter includes additional steps for mirroring container images, configuring registry authentication, and installing the Helm chart in isolated environments.
Use OCI container delivery method Copy linkLink copied!
Red Hat Developer Hub pulls the Ansible plug-ins directly from registry.redhat.io as OCI artifacts. This is the recommended method that requires a registry authentication secret in the same OpenShift project as your Red Hat Developer Hub deployment.
Before you begin Copy linkLink copied!
- You have a Red Hat account with access to
registry.redhat.io. - You have a registry service account token from the Red Hat Customer Portal.
- You have access to the OpenShift project. In the same project you had installed Red Hat Developer Hub.
- You have installed the OpenShift CLI (
oc) and logged in to your cluster.
About this task Copy linkLink copied!
This method is the default for the Helm chart and is the recommended method for production deployments.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Verify that the secret exists in the project:
oc get secret <deployment-name>-dynamic-plugins-registry-auth
HTTP plug-in registry Copy linkLink copied!
The HTTP plug-in registry method hosts plug-in tarball files in a local OpenShift registry that the dynamic plug-in installer pulls during startup.
The HTTP plug-in registry method is deprecated and will be removed in a future release of Red Hat Ansible Automation Platform. Use OCI container delivery for new installations. The Ansible automation portal setup bundle on the Product Software downloads page is provided for existing installations that have not yet migrated to OCI delivery.
Download the Ansible plug-ins files Copy linkLink copied!
Download the Ansible plug-ins for Red Hat Developer Hub Setup Bundle from the Red Hat Ansible Automation Platform Product Software downloads page.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Run ls to verify that the extracted files are in the $DYNAMIC_PLUGIN_ROOT_DIR directory:
$ ls $DYNAMIC_PLUGIN_ROOT_DIR
ansible-plugin-backstage-rhaap-dynamic-x.y.z.tgz
ansible-plugin-backstage-rhaap-dynamic-x.y.z.tgz.integrity
ansible-plugin-scaffolder-backend-module-backstage-rhaap-dynamic-x.y.z.tgz
ansible-plugin-scaffolder-backend-module-backstage-rhaap-dynamic-x.y.z.tgz.integrity
The files with the .integrity file type contain the plugin SHA value. The SHA value is used during the plug-in configuration.
Create a registry for the Ansible plug-ins Copy linkLink copied!
Set up a registry in your OpenShift cluster to host the Ansible plug-ins and make them available for installation in Red Hat Developer Hub (RHDH).
Procedure Copy linkLink copied!
Results Copy linkLink copied!
To verify that the plugin-registry was deployed successfully, open the Topology view in the Developer perspective on the Red Hat Developer Hub application in the OpenShift Web console.
- Click the plug-in registry to view the log.

(1) Developer hub instance
(2) Plug-in registry
- Click the terminal tab and login to the container.
- In the terminal, run
lsto confirm that the.tarfiles are in the plugin registry.ansible-plugin-backstage-rhaap-dynamic-x.y.z.tgz ansible-plugin-scaffolder-backend-module-backstage-rhaap-dynamic-x.y.z.tgzThe version numbers and file names can differ.