Skip to content

Inventory plugin for OCP Virtualization #78

@jangel97

Description

@jangel97

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.

Feature type

New Feature

Feature Summary

Hi,

I did not find a way to use dyamic inventory on AAP for OCP Virt.

I tried to create an Inventory Source using the community.okd.openshift inventory plugin, in order to do so, I created added an inventory sync from a project.

---
plugin: community.okd.openshift
connections:
  - namespaces:
      - jmorenas-dev
    verify_ssl: false

This plugin requires a kubeconfig or a token, but, since I can only use project inventory sync, i can't land token or kubeconfig for this inventory sync.

It would be cool if there was an inventory sync the type of which is OpenShift Virtualization.

Select the relevant components

  • UI
  • API
  • Docs
  • Collection
  • CLI
  • Other

Steps to reproduce

Try setting this in AAP and get VMs from OCP Virt https://docs.ansible.com/ansible/latest/collections/community/okd/openshift_inventory.html#ansible-collections-community-okd-openshift-inventory

Current results

Not possible to use dynamic inventory for ocp virt / kubevirt on AAP/AWX

Sugested feature result

Not possible to use dynamic inventory for ocp virt / kubevirt on AAP/AWX

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions