Looks good. Thanks!

On Wednesday, April 30, 2014 9:45:29 AM UTC-5, Slim Slam wrote:
>
> I'd really like to do something like this:
>
>  - name: uploading ssh keys
>
>    action: authorized_key user={{ item.username }}
>
>                   key="{{ lookup('file', 'keys/ssh.{{ item.username 
> }}.pub') }}"
>
>    with_items: users
>
>
> but the lookup plugin does not support substitution like that (I guess). 
>  Is there a simple workaround to include 
>
> the keys from files and still use the authorized_key module?  Otherwise, 
> I'm going to have to just copy them over.
>
>
> J
>

-- 
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/c5481bbc-9ad8-4430-8848-8c33100a2b28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to