Though username would likely be a string anyway :)



On Wed, Apr 30, 2014 at 10:51 AM, C. Morgan Hamill <[email protected]>wrote:

> 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.
>

-- 
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%2BnsWgxO9p2hYr1RYrg0G0VSzxNO-QxuwTs8y84%3Dq8%3DAnQyGkg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to