-
Bug
-
Resolution: Done
-
Normal
-
None
-
6.15.z
Description of problem:
Syncing ansible inventory with a user that has only the role "Ansible Tower Inventory Reader" generates an inventory containing only global parameters. Any parameters overwritten at host level are ignored and the global value is included.
This happens because the role is missing a filter to read parameters.
Adding a filter of type "parameters" -> view_params to the role is enough to get the proper values.
How reproducible:
Always
Is this issue a regression from an earlier version:
yes
Steps to Reproduce:
1. Create a user and assign only the role Ansible Tower Inventory Reader to it
2. Define a global parameter with a value
3. Go to a host and overwrite that value of the global parameter defined on step 2
4. Generate the ansible inventory report
5. Look for the properties of the host that had the global parameter overwritten.
Actual behavior:
Causes inventory reports created with this role to be inaccurate
Expected behavior:
Role should contain all needed filters so the inventory report could be accurate.
Business Impact / Additional info: