Hello, I’m trying to figure out the best way to run fact gathering playbooks against different groups of hosts in AWX.
Let’s say that I have a bunch of Cisco devices, and I want to run the ios_facts module against them. However, the credentials are different for many of these devices. I’m wondering what the best way to setup the playbook, job template, and groups in order to do this.
One requirement is that each credential be encrypted in the vault, not sitting plaintext as a host or group variable.
I was thinking about making the ‘hosts’ field in the playbook could be a variable which is set with a survey per job template, and then I specify the credentials per job template.
How do you folks handle this?