Open dmsimard opened 3 years ago
looked into this topic again.
Conclusion: when we are goind to Django 3.2, we can really introduce a json field for the facts and directly filter in the database. With that it should be quite easy to implement because we can include it in the HostFilter
which the api and ui is using.
A workaround for now would be to complicated.
What is the idea ?
We've discussed the idea of searching and filtering of hosts facts and determined it was possible (although not in-database): https://github.com/ansible-community/ara/pull/206#issuecomment-885992773
A feature like this would allow someone to, for example, search hosts where
ansible_distribution
matchesFedora
or whereansible_kernel
matches a specific kernel version.