add context to script templates

This commit is contained in:
Hugo Chinchilla Carbonell 2017-09-06 15:48:11 +02:00
parent a30276a1dc
commit 55d9e99bbd

View file

@ -20,6 +20,7 @@ consul-script-install-{{ loop.index }}:
- source: {{ script.source }}
- name: {{ script.name }}
- template: jinja
- context: {{ template.get('context', {}) | yaml }}
- user: consul
- group: consul
- mode: 0755