Is it possible to use with_first_found in a with_items loop, for example:
- 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
It does not seem to work using with_nested .
ansible ansible-playbook
briceburg
source share