I have a hostgroup that have 4 hosts in it:
Example:
[ {
“shcdeployer”,
“shcnode1”,
“shcnode3”,
“shcnode3”
} ]
I need to get two things actually
- A shcnode* node picked out of the list, does not matter
- 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?