Daniel Hokka Zakrisson
|
caee51e90e
|
Allow only_if/when_* on task includes and apply it on all tasks within
|
2013-01-04 00:15:13 +01:00 |
|
Stephen Fromm
|
2100a35663
|
Update path_dwim() to return absolute path
If path_dwim() is provided a relative path to a file, it will now return an
absolute path of the playbook directory + the relative file path.
|
2013-01-02 21:53:00 -08:00 |
|
Daniel Hokka Zakrisson
|
d4c63e3300
|
Ensure each basedir is only added to the search path once
Fixes #1790.
|
2012-12-20 14:17:12 +01:00 |
|
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 |
|
fdavis
|
7347e54b70
|
change error message on check_conditional when variable does not exist
|
2012-12-13 23:02:30 -08:00 |
|
Michael DeHaan
|
dbf5a57a5a
|
Merge pull request #1683 from bcoca/template_override
Template override
|
2012-12-02 10:15:10 -08:00 |
|
Jan-Piet Mens
|
17f31a2a79
|
CLI: ansible-doc shows lists of modules & module docs on command-line
check path is directory
added manpage & setup
small cleanup
shut up module_formatter in utils to avoid trace print on crud files in library
|
2012-11-30 21:57:25 -05: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
|
047d089cea
|
Restore git output on --version
Broken by the move from utils.py to utils/__init__.py
|
2012-11-21 23:54:42 +01:00 |
|
Daniel Hokka Zakrisson
|
f95fefd8c5
|
Use plugin system to find modules
|
2012-11-18 19:09:21 +01:00 |
|
Daniel Hokka Zakrisson
|
5dd2ec2cae
|
Add a way to add directories to just one type of loader
|
2012-11-18 19:08:59 +01:00 |
|
Daniel Hokka Zakrisson
|
11175781b8
|
Use slurp for fetch is sudo is enabled and needed
Fixes #1020.
|
2012-11-18 17:54:00 +01: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 |
|
Jan-Piet Mens
|
e32f4a0564
|
Move get_docstring from module_formatter into ansible/utils
|
2012-11-09 17:15:41 +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
|
e05e514861
|
Create a plugin loader system
|
2012-11-02 01:24:14 +01:00 |
|
Daniel Hokka Zakrisson
|
000d3832cc
|
Make ansible.utils a package
|
2012-11-02 00:42:37 +01:00 |
|