ansible-config_template/action
Jean-Philippe Evrard 1f404d7f97 Introduce content argument
Copy module can take content argument, I think we should introduce this
feature to config_template. It brings the possibility to use lookups for
inline passing of content to template.

Example, we could use:

config_template:
  content: "{{ lookup('file',<file>) }}" to replace current behavior

or:

config_template:
  content: "{{ lookup('url','<url>',wantlist=True) | join ('\n') }}"

to bring inline templating of external sources.

Change-Id: Id5b2743d309f0313603afbbf84279ce0b1e49cfb
Signed-off-by: Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk>
2016-12-15 12:08:17 +00:00
..
_v1_config_template.py Add option to toggle list extensions 2016-09-09 16:15:00 -05:00
_v2_config_template.py Introduce content argument 2016-12-15 12:08:17 +00:00
config_template.py Update the config_template plugin for ansible2 2016-03-30 16:13:26 -05:00