Daniel Hokka Zakrisson
|
3a36c024da
|
Make lookups being fatal up to the caller
Fixes #1769.
|
2012-12-19 19:19:04 +01:00 |
Daniel Hokka Zakrisson
|
0f1706220b
|
Add support for using the Jinja2 built-ins such as range
|
2012-12-19 09:42:15 +01:00 |
Brian Coca
|
d7f38d07b3
|
fixed bug for string size mismatch, now substring depends on size of match string Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
|
2012-11-26 10:41:13 -05:00 |
Brian Coca
|
6a1e2aaff5
|
moved override matching string to variable changed test template to match Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
|
2012-11-26 10:41:13 -05:00 |
Brian Coca
|
68f5d69365
|
added ability to override jinja enviornment from first line of template Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
|
2012-11-26 10:41:13 -05:00 |
Daniel Hokka Zakrisson
|
e74ffd6764
|
Lookup plugin arguments need to be templated
|
2012-11-14 11:17:30 +01:00 |
Daniel Hokka Zakrisson
|
c200c26ced
|
Keep hostvars from being templated
|
2012-11-13 11:34:34 +01:00 |
Daniel Hokka Zakrisson
|
25a8787e95
|
Template all variables before returning them to Jinja2
|
2012-11-13 02:39:33 +01:00 |
Daniel Hokka Zakrisson
|
d2dce1d63f
|
Make lookup plugin replacements part of the main variable logic
|
2012-11-13 02:18:05 +01:00 |
Daniel Hokka Zakrisson
|
a2bb3a09d2
|
Completely ignore stray $ in input
Previously, "a $ string $var" would not have gotten replaced at all.
|
2012-11-13 02:13:10 +01:00 |
Daniel Hokka Zakrisson
|
24b536d7ed
|
Add some comments to templating system
|
2012-11-13 02:13:04 +01:00 |
Daniel Hokka Zakrisson
|
233a36b9e8
|
Template using module_vars early
Since no basedir is available at that time, avoid invoking
lookup plugins since they assume it is present.
|
2012-11-12 16:53:24 +01:00 |
Michael DeHaan
|
c890ae18e7
|
Merge pull request #1575 from dhozac/parameterized-playbook-include
Add parameterized playbook includes
|
2012-11-12 05:17:38 -08:00 |
Daniel Hokka Zakrisson
|
9924555623
|
Add support for generic $XXX() to call $LOOKUP()
|
2012-11-10 23:46:37 +01:00 |
Daniel Hokka Zakrisson
|
383dc30560
|
Rename varReplaceWithItems to template_ds
|
2012-11-09 15:43:29 +01:00 |
Daniel Hokka Zakrisson
|
47082a9171
|
Add $LOOKUP(<lookup plugin>,<data>) as a templating option
Also moves file and pipe to lookup_plugins.
|
2012-11-07 23:17:29 +01:00 |
Jeroen Hoekx
|
8ffed6df75
|
Support custom jinja2 filters.
This uses the plugin framework to add filter plugins.
The previously hardcoded core filters are defined using the plugin
framework now.
|
2012-11-05 15:11:34 +01:00 |
Daniel Hokka Zakrisson
|
000d3832cc
|
Make ansible.utils a package
|
2012-11-02 00:42:37 +01:00 |