inventory plugin ovirt.ovirt.ovirt

Hi,

I was used to use the old ovirt4.py which has been replaced by ovirt.ovirt.ovirt plugin into the latest awx releases.

I noticed that the generated ovirt.yml contains only the plugin: “ovirt.ovirt.ovirt” directive

I’d like to add some custom inventory as an argument to ansible-inventory with those parameters for instance:

ovirt_query_filter:
search: ‘datacenter=Sudoc’
case_sensitive: no
keyed_groups:

  • key: cluster
    prefix: ‘cluster’
  • key: tags
    prefix: ‘tag’
  • key: status
    prefix: ‘status’
    groups:
    psi: “‘psi’ in name”
    cbs: “‘cbs’ in name”
    ovirt_hostname_preference: [‘name’, ‘fqdn’]

Where should I go?

I answer to myself, after hours of searching, I found that the only way to pass some custom source vars with the ovirt plugin is to use the api with tower-cli (deprecated) awxkit or playbooks roles and collections. In opposition to other inventory plugins, there is no source vars field in the UI to define source_vars for the RHV type. Is there a reason for that??