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,

Kenton Brede

-- 
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/CA%2BnSE3-C3Cz%2Bg111WJDp-k_zb46gUy2gNX_j5BZwk76_S-DtxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to