I created a Custom Credential in Ansible Tower and need to use it in a role.
The credential name is custom_cred
-> this has 2 keys custom username
and custom password
.
I've tried hostvars[inventory_hostname][custom_cred]['custom username']
but its not working.