Hi Ansible Experts,
This question is more relevant to Ansible Tower.
Can someone help to read the Ansible tower credentials in Playbook?
We have created machine type credential called *sampleCredential* and
password for it. Now how do I use them in the playbook
---
- hosts: all
vars:
machine:
username: '{{ sampleCredential }}'
password: '{{ sampleCredential }}'
tasks:
- debug:
var: machine
Using this playbook, unable to retrieve the machine credential value in the
playbook. Any help on this request much appreciated.
Regards
Saravanan
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1f25d6d0-bab6-419c-a8c9-b571969e54f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.