Commit Graph

27 Commits (e0e6e5e8cb0cd2a67fb20651e5d9a00b828be3aa)

Author SHA1 Message Date
Michael DeHaan 636f753609 Fixup template documentation so webdocs can generate. 12 years ago
Brian Coca 21e6e72250 added docs about in template overrides
Signed-off-by: Brian Coca <bcoca@tablethotels.com>
12 years ago
willthames 389c59024e Added additional template variables
Added two additional template variables
* template_fullpath - absolute path to the template
* template_run_date - date that the template was rendered
Documented these additional variables in the module documentation
12 years ago
Michael DeHaan 6f6559670f chmod -x for all module files in source checkout 12 years ago
Jan-Piet Mens d069c57974 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
12 years ago
Michael DeHaan eaaa9e447b Various performance streamlining and making the file features usable in all modules without daisy chaining. 12 years ago
Jan-Piet Mens c78a0a4a49 Jumbo DOCUMENTATION patch 12 years ago
Jan-Piet Mens d6625a2b1f Module DOCUMENTATION for template, wait_for, and yum 12 years ago
Michael DeHaan 31d9111857 Setup module no longer saves to disk, as templates are mostly useful in playbooks and this allows lots of simplifications
around file pathing and removes occasional permissions conflicts depending on how things are used.
13 years ago
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