the lookup is returning a list, not a string, as a workaround:
template: src={{ lookup('first_found', [ 'userparameter_' + item +
'_' + ansible_pkg_mgr + '.j2', 'userparameter_' + item + '.j2' ])[0]
}}
--
Brian Coca
--
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/CAJ5XC8nqeMX3pdCzaObP%2B-HTRpWs5%2B3%2Bz1gK_vJu__35egmUDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.