I have a hostgroup that have 4 hosts in it:
Example:
[ {
"shcdeployer",
"shcnode1",
"shcnode3",
"shcnode3"
} ]
I need to get two things actually
1. A shcnode* node picked out of the list, does not matter
2. A string list of the nodes like:
https://shcnode1:8089,https://shcnode2:8089,https//shcnode3:8089
There has to to be some easy trick that I am missing. I am also looking
into also creating a python script to parse it as well.
Thoughts?
--
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/6b48ad58-ec6f-4f12-81cd-f435f392cf7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.