It is possible to assign more than one credential to a job template, however there can be only one credential of any given type. According to https://docs.ansible.com/ansible-tower/latest/html/userguide/credentials.html#machine, the credential type designated for network devices that use network_cli should be “machine” which means that all network devices in the inventory that is used in a given job_template must be accessible using a single machine credential. I’m looking for a solution (in AWX) to enable that devices, that have different username/password pairs, to be part of the same inventory, which seems to preclude using a machine credential. Would creating a custom credential which creates environment variables for each username and password value and then setting the ansible_user and ansible_password for particular hosts or groups from a lookup be a good solution?
Rod Oliver