# inventory plugin ovirt.ovirt.ovirt

**URL:** <https://forum.ansible.com/t/inventory-plugin-ovirt-ovirt-ovirt/34285>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [December 5, 2020, 12:47am UTC](https://forum.ansible.com/t/inventory-plugin-ovirt-ovirt-ovirt/34285 "2020-12-05T00:47:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathanael\_Blanchet](https://avatars.discourse-cdn.com/v4/letter/n/dc4da7/32.png) [@Nathanael\_Blanchet](https://forum.ansible.com/u/Nathanael_Blanchet)\
**Post date:** [December 5, 2020, 12:47am UTC](https://forum.ansible.com/t/inventory-plugin-ovirt-ovirt-ovirt/34285/1 "2020-12-05T00:47:22Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Nathanael\_Blanchet](https://avatars.discourse-cdn.com/v4/letter/n/dc4da7/32.png) [@Nathanael\_Blanchet](https://forum.ansible.com/u/Nathanael_Blanchet)\
**Post date:** [December 7, 2020, 10:32pm UTC](https://forum.ansible.com/t/inventory-plugin-ovirt-ovirt-ovirt/34285/2 "2020-12-07T22:32:08Z")

</div>

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??
