Excerpts from Brian Coca's message of 2014-04-30 10:49:17 -0400:
> "{{ lookup('file', 'keys/ssh.' + item.username + '.pub') }}"
I'd add that, in the general case, you'll want to do:
{{ lookup('file', 'keys/ssh.' ~ item.username ~'.pub') }}
Using the tilde concatenation operator casts values to strings before
concatenation.
--
Morgan
--
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/1398869426-sup-8110%40al.wesleyan.edu.
For more options, visit https://groups.google.com/d/optout.