Commit graph

18 commits

Author SHA1 Message Date
Michael DeHaan
eeb3cf7bd7 make all templating happen locally, so no jinja2 deps are ever required 2012-04-18 22:43:17 -04:00
Jeroen Hoekx
37e18dfb13 template: expand path if metadata is in user home. 2012-04-17 11:16:53 +02:00
Jeroen Hoekx
f728e8c536 Introduce per task variables and push them to templates. 2012-04-04 13:39:03 +02:00
Jeroen Hoekx
3b7f17ab67 Fix except statement in template module.
Python 2.4 (RHEL 5) does not know 'as'.
2012-03-30 11:46:30 +02:00
Matthew Williams
f414c98857 removed hack 2012-03-27 11:12:33 -07:00
Matthew Williams
dc1d1152c9 catch jinja template errors in template module 2012-03-27 11:06:31 -07:00
Matthew Williams
65025d7dcd resetting template.. previous commit not needed 2012-03-27 09:10:51 -07:00
Matthew Williams
dccfce6718 added format_advanced jinja filter to template module 2012-03-27 08:51:37 -07:00
Michael DeHaan
aae72ec617 Fix template module 2012-03-14 19:08:10 -04:00
Michael DeHaan
a1a6eae96c Take darkened hosts out of the playbook rotation, fix error handling in template
module so that if a directory path is specified we get valid output
2012-02-28 02:32:14 -05:00
Michael DeHaan
1bd1552b43 Relicensing to GPLv3, all previous committers ok'd on mailing list. 2012-02-28 19:08:09 -05:00
Michael DeHaan
8f9320aa05 Rename 'ensure' to 'state' because I think it's a bit cleaner and doesn't imply
all modules take a common parameter name.  But more or less we still work idempotently
in modules.
2012-02-26 22:31:42 -05:00
Michael DeHaan
07d17e4cb4 Fixed up KV munging in runner, misc fixes to copy, setup, and template modules 2012-02-26 19:55:26 -05:00
Michael DeHaan
5e6bf63215 make copy & template module take key/value parameters so we're consistent. Only the command
module works differently now

starter manpage for modules

allow template file location to be passed into template & setup modules
2012-02-26 19:21:44 -05:00
Michael DeHaan
e202fea4fa trim md5sum string so it does not contain the filename
also fix a bug/typo in the reporting from playbook
2012-02-26 12:10:57 -05:00
Michael DeHaan
fed3462502 applying indentation patch from skvidal 2012-02-25 17:16:23 -05:00
Michael DeHaan
3e010b9500 Added remote templating engine using jinja2, see examples/playbook.yml for usage.
Cleanup is due in runner.py
2012-02-24 04:35:51 -05:00
Michael DeHaan
941d79db8f Added stub for template execution, WIP. 2012-02-24 03:45:36 -05:00