How to set instance filters for tower inventory sources in 15.0.1 collection?

Now that instance_filters has been removed as a parameter from the tower_inventory_source module how do you set the instance filter when using this module. This parameter used to accepted the inventory primary key or its named URL slug.

It was removed in this commit https://github.com/ansible/awx/commit/f32716a0f14d1c63e9a668ed7bfba59488f5a50f#diff-6e3f61cc4874587069e86b17d99403959201389e77414d48d44e1418b8f35820 but I don’t see any mention of it’s replacement. I see host_filter has been added as a new parameter so maybe that is the replacement but what would the format be?

Hey Darren,

Even i am trying to figure out this part. Got any luck??

Regards,
Vaibhav

Got this via this conversation, and it worked.
https://groups.google.com/g/awx-project/c/0zVfJLSPgLs/m/20TisKr4AQAJ

Thanks anyways!

Regards,
Vaibhav

Thanks Vaibhav I’ll give that a try.