Looks like some kind of parsing issue, if I use the full YAML syntax below
it works, but not if I use key=...
Working:
- authorized_key:
user: bob
key: "{{lookup('file',item)}}"
with_fileglob:
- /some/absolute/path/id_*.pub
Not working:
- authorized_key: user=bob key='{{lookup("file", item)}}'
with_fileglob:
- /some/absolute/path/id_*.pub
On Tuesday, December 9, 2014 5:04:00 PM UTC+1, Brian Coca wrote:
>
> I did very simple (if contrived) test and this seems to work fine:
>
>
> - copy: content={{lookup('file',item)}} dest=/tmp/{{item|basename}}
> with_fileglob:
> - files/*
>
>
> --
> 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/7cfc11a2-b944-43b2-bf15-fc57a61f5acc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.