On 2013-12-17 12:29, Serge van Ginderachter wrote:

    How can I make with_file lookup a list of files? Or how can I make
    with_fileglob copy the content of the files?


make that

key="{{ lookup('file', item) }}"


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.

Is there a way to do something like:
    with_file:
      - {{ lookup 'grant/*' }}

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

Reply via email to