This is a little different.  This will *evaluate* the template at this
point when it can.

I don't recommend it.




On Mon, Aug 11, 2014 at 10:45 AM, C. Morgan Hamill <[email protected]>
wrote:

> Excerpts from AJ Daws's message of 2014-08-08 17:30:33 -0400:
> > Michael, no need to apologize, you've already helped a lot, thank you!
> >
> > One thing that would really help here and is general enough I'm sure it
> > would find use elsewhere as well is to have the template module capable
> of
> > outputting to a variable rather than a file.  That certainly would help
> me
> > in my case, and I've seen cases elsewhere while trying to improve my code
> > for this where it would also have been helpful.
>
> There is also a template lookup plugin, no?  This should evaluate the
> contents of a template:
>
>     {{ lookup('template', 'tmpl.j2') }}
> --
> Morgan Hamill
>
> --
> 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/1407768238-sup-5790%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%2BnsWgy4r9BEJ-H0Yds8FCq2P0%2B9G46aAAyDMAeWQiDWD%3DR0QA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to