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