something like?
template: src={{lookup('uri', 'http://remote.com/file.j2'}}
On Thu, Jul 23, 2015 at 3:17 AM, vitaly bichov <[email protected]> wrote:
> Hi,
>
> I'm facing the same issue and wonder how you solved it?
>
> On Monday, September 30, 2013 at 1:29:06 PM UTC+3, Bruno Dupuis wrote:
>>
>> Hi,
>>
>> Is there a practical way to use a remote file as a jinja template in
>> template modules ?
>>
>> Let's explain my use case:
>>
>> My application code requires configuration that may vary depending on the
>> environment (dev/staging/prot)
>>
>> I want to keep configuration defintion into application code, as j2
>> template, because it's easier to maintain.
>>
>> Those templates are deployed on the target machines along with the app,
>> and then ansible creates final configuration files, using host/group
>> variables.
>>
>> Regards.
>>
>> --
>> Bruno
>>
> --
> 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/a7a24228-78b0-4482-91e9-57b76fc1cdfc%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
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/CAJ5XC8kXjbvnpxkBZ5r7P%2BJDT%2B96%2BVFbg%3DokfwJY_Ow%3DRXA9KA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.