Groups in Tower

Hi,
When I’m running Ansible Engine (CLI), I can have multiple groups in the inventory file.
[switch]

[router]

Each of these groups uses different credentials. In CLI, I can have a different variable file under group_vars (different passwords). I can then run playbooks that work on both switches and routers.

Is this possible in Tower. I found that I can put devices into groups under inventory but the credentials are assigned at the job template level and I have to choose which credentials file to use. I have one for switch and one for router. Right now I have 2 job templates, one for switch and one for router. Is there a way to combine them into one template?
Thanks

On the template just leave the credentials blank and have it set to prompt.

John M. Foley

IT Specialist

LOC

John,
I dont want to have to enter credentials each time. I would schedule the jobs and would want it to run on its own.Is there a way to add a variable to the “group” that points to the right credential file?

Spiro

For now, this is not possible, according to this thread: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/awx-project/h8Ftu3pGcEI