Add a user to the permissions of a job template from API or awx.awx.job_template

Latest response

Hello,
I am using Ansible 2.9 and I am running a playbook that creates a job template using the awx.awx.job_template module.

I want to create some job_templates that are specific to a given user. (various templates will be associated with various users)

In other words, they would be the only ones to have access or see it in the list of templates when they enter AWX/Tower.

I don't want to use a Team, as the template would be user-specific and I don't want to create a Team for every user - not feasible.

There is no option in the awx.awx.job_template module or within the AWX api to add a user to the job template permissions as far as I can see.

I can add a user to the Permissions via the UI, so I would think there would be a corresponding API feature to allow the same.

Can anyone tell me if there is a way to accomplish this?

Thanks in advance

Responses