Skip to content

Set an option to add name*and* upstream name for infra.aap_configuration.hub_ee_image #1282

@isuftin

Description

@isuftin

Is your feature request related to a problem? Please describe.
We have a private registry in gitlab.

https://my.registry:5001/docker/ansible-execution-environments/ansible-automation-platform/ansible-automation-platform-26/

We publish our own ee-supported-rhel9

It seems like We can only specify the name of the image:

- name: Manage Hub Remote Registries
  ansible.builtin.include_role:
    name: infra.aap_configuration.hub_ee_registry
  vars:
    hub_ee_registries:
      - name: Internal Gitlab
        url: https://my.registry:5001/docker/ansible-execution-environments/ansible-automation-platform/ansible-automation-platform-26/

- name: Manage Hub Execution Environments
  ansible.builtin.include_role:
    name: infra.aap_configuration.hub_ee_image
  vars:
    hub_ee_images:
      name: ee-supported-rhel9:1.0.0-1108-1.0.0

While this works to pull in my image, it does overwrite the default ee-supported-rhel9 image, which we don't want. We'd like to be able to have a separate entry in AAP 2.6 /content/execution-environments/

Describe the solution you'd like

When creating a new EE through the UI ( /content/execution-environments/create ), we have the ability to choose a name and an upstream name. This gives us the solution we're looking for. The name would be our-team-ee-supported-rhel9 and the upstream name would be ee-supported-rhel9

Currently we're not able to do this through the collection

Describe alternatives you've considered

We can change the name of our gitlab repository, but the feature request I'm asking for here would make infra.aap_configuration feature complete

Additional context

I assume this has to be changed first @ https://github.com/ansible-collections/ansible_hub/blob/main/plugins/modules/ah_ee_image.py since it doesn't exist there either.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions