I have a list of dictionaries
myhosts:
- {hostname: aaa, port: 1111}
- {hostname: bbb, port: 2222}
And I want to get a single string containing the joined host:port pairs, like this
result = "aaa:1111, bbb:2222"
Thanks
edit: yaml - added spaces after colons