Is it possible to use with_first_found in a with_items loop? Such as;
```
- template:
dest=/foo/{{ item.name }}-{{ item.branch | default('master') }}
src={{ item }}
with_first_found:
- {{ item.name }}-{{ item.branch | default('master') }}
- {{ item.name }}.j2
- apache_site.j2
with_items: apache_sites
```
Can't seem to make it work using with_nested
Many thanks!
--
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/9582b783-29f5-465a-9874-6e5c4c29ce3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.