Hi,
Is below possible in Ansible, please guide?
When creating a new Ansible inventory, is it possible to make any config settings in tower such that it auto populates EXTRA VARS.
Idea is that user should not update the EXTRA VARS and it should come by default when they try to create a new inventory.
Example EXTRA VARS:
(attachments)
you can the extra vars there and save. Anyone that uses the JT will have those by default until someone changes em.
(attachments)
Jonathan,
Thank you for you reply. Sorry if I am not clear.
My question was , can we edit Tower configuration setting and auto populate those variables ? Not by manually typing and saving them.
Can we make any API calls(api/v2/inventories) and add these variables by default when user clicks CREATE inventory, they should be seen in EXTRA VARS section? Trying to check if there is any possible way?
there’s no special way of doing it by clicking but, they can create inventories and pass the extra vars through the api.