Hello there,
Let me explain my context.
As admin of AWX platform, I would like to give permission of AWX users to manage the inventory without having the possibility to modify it but to manage group.
In order to achieve this, I give basic permissions to users ( user role ) to AWX platform, so they can connect into AWX and run their template but the problem is they couldn’t group their hosts in inventory since they haven’t admin role in the plateform.
My question is it a way to allow users to manage their group inventory while having limited permission to the plateform (user role).
Is possible to achieve it by modifying AWX code or developing or using an existing plugin ?
Thanks in advance
You could create an Organization in which they have admin privileges.
Hello creisor,
For security reasons, I don’t want to give them admin privileges on the inventory.
Regards,
You mentioned wanting the user to be able to group inventory hosts. We expose ansible limit feature on job templates.
Hello Christopher,
Thanks for your response.
Alright you limited ansible feature on job templates.
But it would be nice if users can group their inventory hosts since they would prefer sometimes to run job template in specific group of hosts.
Regards,
You should be able to work around it by having them pull their inventory from an SCM like github or similar. They would the be able to modify their repo that contains their inventory files and groups definitions and you can set the inventory to update from the repo on each job execution to make sure it’s always up to date. Would something like that maybe work for you?
hello Michael,
Very good Michael, it would be good in my case.
I’ll test it and update you once it works or not.
Thanks,
Regards