add context to script templates
This commit is contained in:
parent
a30276a1dc
commit
55d9e99bbd
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue