On 2013-12-17 12:46, Serge van Ginderachter wrote:
I saw that online, tried it, but this assumes that I copy all my key files
over to the target (I'm getting "does not exist"), which I am trying to
avoid.
No, that must be another problem then. Lookup plugins allways act on the
localhost (where you run ansible-playbook).
Thanks!
There was a funny character in the file names which "with_file" handled fine,
but with_fileglob didn't. Adding double quotes around the item solved the issue:
authorized_key: user=blah key="{{ lookup('file', "item") }}
--
Yves.
--
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].
For more options, visit https://groups.google.com/groups/opt_out.