Commit Graph

18 Commits (2a53febdf5d60f49894f451ec1baf8a36ac8e329)

Author SHA1 Message Date
Michael DeHaan eeb3cf7bd7 make all templating happen locally, so no jinja2 deps are ever required 13 years ago
Jeroen Hoekx 37e18dfb13 template: expand path if metadata is in user home. 13 years ago
Jeroen Hoekx f728e8c536 Introduce per task variables and push them to templates. 13 years ago
Jeroen Hoekx 3b7f17ab67 Fix except statement in template module.
Python 2.4 (RHEL 5) does not know 'as'.
13 years ago
Matthew Williams f414c98857 removed hack 13 years ago
Matthew Williams dc1d1152c9 catch jinja template errors in template module 13 years ago
Matthew Williams 65025d7dcd resetting template.. previous commit not needed 13 years ago
Matthew Williams dccfce6718 added format_advanced jinja filter to template module 13 years ago
Michael DeHaan aae72ec617 Fix template module 13 years ago
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
13 years ago
Michael DeHaan 1bd1552b43 Relicensing to GPLv3, all previous committers ok'd on mailing list. 13 years ago
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.
13 years ago
Michael DeHaan 07d17e4cb4 Fixed up KV munging in runner, misc fixes to copy, setup, and template modules 13 years ago
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
13 years ago
Michael DeHaan e202fea4fa trim md5sum string so it does not contain the filename
also fix a bug/typo in the reporting from playbook
13 years ago
Michael DeHaan fed3462502 applying indentation patch from skvidal 13 years ago
Michael DeHaan 3e010b9500 Added remote templating engine using jinja2, see examples/playbook.yml for usage.
Cleanup is due in runner.py
13 years ago
Michael DeHaan 941d79db8f Added stub for template execution, WIP. 13 years ago