Optional configuration
Enable optional integrations to enhance the user experience and functionality of the Ansible plug-ins.
Configure OpenShift Dev Spaces
When OpenShift Dev Spaces is configured for the Ansible plug-ins, users can click a link from the catalog item view in Red Hat Developer Hub and edit their provisioned Ansible Git projects using Dev Spaces.
Before you begin
- You have a Dev Spaces installation. For more details, see Installing Dev Spaces.
About this task
OpenShift Dev Spaces is a separate product and it is optional. The plug-ins will function without it.
It is a separate Red Hat product and is not included in the Ansible Automation Platform or Red Hat Developer Hub subscription.
If the OpenShift Dev Spaces link is not configured in the Ansible plug-ins, the Go to OpenShift Dev Spaces dashboard link in the DEVELOP section of the Ansible plug-ins landing page redirects users to the This content is not included.Ansible development tools home page.
Procedure
Configure the private automation hub URL
Private automation hub provides a centralized, on-premise repository for certified Ansible collections, execution environments and any additional, vetted content provided by your organization.
Before you begin
- You have a private automation hub instance. For more information, see Manage your automation content in private automation hub
About this task
If the private automation hub URL is not configured in the Ansible plug-ins, users are redirected to the This content is not included.Red Hat Hybrid Cloud Console automation hub.
The private automation hub configuration is optional but recommended. The Ansible plug-ins will function without it.
Procedure
Customize Ansible Developer Tools server resources
Ansible Developer Tools sidecar container ships with default CPU and memory resource requests and limits. Customize these values if your namespace enforces a LimitRange with lower values or if you want to tune resources for your workload.
About this task
The following table lists the default resource requests and limits for the ansible-devtools-server container in the Helm chart:
| Resource type | CPU | Memory |
|---|---|---|
| Requests | 1 | 1Gi |
| Limits | 2500m | 2.5Gi |
If the target namespace has a LimitRange resource configured without default values, Kubernetes rejects any pod that does not specify resource requests and limits. The ansible-devtools-server container includes explicit defaults to pass LimitRange validation. If your LimitRange enforces values lower than the chart defaults, you must override the resources to match your namespace constraints.
The ansible-devtools-server runs as an extraContainers entry in the Helm chart. Due to Helm array replacement behavior, overriding a single field inside an array item requires duplicating the full container spec. You cannot set only the resources block. You must include the command, image, name, and ports fields as well.