I have list of short hostnames and string of domain name
How can I join these together?
dns_domain: 'local.out'
short_nodes: [ name1, name2, name3 ]
and I want
[ name1.local.out, name2.local.out, name3.local.out ]
I tried
set_facts:
nodes: "{{ short_nodes | default([]) + ['.'.join( {{ dns_domain }}) }}
but, that gives me error.