ansible-config_template/tests
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
..
files Add option to toggle list extensions 2016-09-09 16:15:00 -05:00
templates Add option to toggle list extensions 2016-09-09 16:15:00 -05:00
inventory Use centralised test scripts 2016-09-28 12:04:13 +01:00
test-config_template.yml Introduce content argument 2016-12-15 12:08:17 +00:00
test-filters.yml Add option to toggle list extensions 2016-09-09 16:15:00 -05:00
test.yml Add option to toggle list extensions 2016-09-09 16:15:00 -05:00