- 11 Apr, 2013 7 commits
-
-
Typo in docs
Michael DeHaan committed -
Fix Jinja2 filter plugins initialization
Michael DeHaan committed -
Add base64 encode and decode filters to templates
Michael DeHaan committed -
Michael DeHaan committed
-
make json valid
Michael DeHaan committed -
Michael DeHaan committed
-
Trevor Wennblom committed
-
- 10 Apr, 2013 18 commits
-
-
Decided to not deprecate legacy template syntax for now. Backwards compat is important, though the docs will suggest the new way.
Michael DeHaan committed -
Michael DeHaan committed
-
Michael DeHaan committed
-
Some continued work on new-style templates and associated test code changes. Legacy template functions are marked with "legacy_" for possible future removal.
Michael DeHaan committed -
allow references to names of variables in with_items without needing to surround them with Jinja2 '{{' delimetersMichael DeHaan committed -
Michael DeHaan committed
-
Technically this isn't quite valid YAML when this happens, so we make it valid. This means that if a future commander API allows save/load it should make sure it does similar processing.
Michael DeHaan committed -
Add code to flag legacy templating like $foo.{bar} as deprecated in favor of Jinja2 {{ foo.bar }} so we can remove the legacy system at a later date.Michael DeHaan committed -
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Michael DeHaan committed
-
Allow jinja2 evals that produce lists to be used in with_items. Ideally want something a bit less heavy than the eval here.
Michael DeHaan committed -
compensate.
Michael DeHaan committed -
Michael DeHaan committed
-
Stoned Elipot committed
-
evaluate and replace '$item' with ''. Really it doesn't make sense to include multiple playbooks via a loop variable, as you can do this with task + with_items already (and it's a simpler code path). Given this is undocumented, this removes that feature, and we'll consider next how to also add 'with_items' support directly to roles.
Michael DeHaan committed
-
- 09 Apr, 2013 4 commits
-
-
Don't set the item variable as eager template replacement will over-replace the variable as an empty string.
Michael DeHaan committed -
_get_filter_plugins() checks FILTER_PLUGINS against None hence the latter should be initialized to None.
Stoned Elipot committed -
Victor Castell committed
-
Test case and fix for shlex.split unicode bug
Michael DeHaan committed
-
- 08 Apr, 2013 9 commits
-
-
Enable virt module to work with different libvirt connection uris.
Michael DeHaan committed -
Enable virt module to work with different libvirt connection uris. This allow to work with all libvirt supported VMs.
Victor Castell committed -
Add separate step update_cache example
Michael DeHaan committed -
Michael DeHaan committed
-
Michael DeHaan committed
-
Change the retry logic to write a limit file, able to source limit from files by indicating with @filename
Michael DeHaan committed -
Gareth Rees committed
-
When operating on a unicode string in python 2.6, shlex.split returns a result that does not work with the file constructor. To reproduce this requires a task include that is templated (this is because the templated string is a unicode result, whereas a non- templated string is a non-unicode string) [will@centos6.3] $ python Python 2.6.6 (r266:84292, Sep 11 2012, 08:34:23) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import shlex >>> shlex.split(u'abc') ['a\x00\x00\x00b\x00\x00\x00c\x00\x00\x00'] [will@fedora17] $ python Python 2.7.3 (default, Jul 24 2012, 10:05:38) [GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import shlex >>> shlex.split(u'abc') ['abc'] The proposed fix (coercing the include parameters to string before the shlex.split) may not be ideal but it does fix the bug for my test case.willthames committed -
When playbooks fail, attempt to create an inventory file in the inventory directory that allows rerunning of the playbook against only the hosts that failed.
Michael DeHaan committed
-
- 06 Apr, 2013 2 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-