So this will print what I want:
- debug:
msg: "{{ groups.tag_Name_shibboleth_aws_dev1[0] }}"
But I'm using a with_items and need something like this:
- { host: 'tag_Name_shibboleth_aws_dev1', othervar: 'blah' }
- debug:
msg: "{{ groups.item.host[0] }}"
Joining the two like so doesn't work:
"{{ groups + '.' + item.host }}"
How do I do this?
Thanks,