Correct script variables

This commit is contained in:
Bahadır Kandemir 2015-10-10 01:16:55 +03:00
parent fe712f5f41
commit 77695911ef

View file

@ -94,8 +94,8 @@ consul_config:
{% for script in consul.scripts %} {% for script in consul.scripts %}
consul_service_register_{{ loop.index }}: consul_service_register_{{ loop.index }}:
file.managed: file.managed:
- source: {{ check.source }} - source: {{ script.source }}
- name: {{ check.name }} - name: {{ script.name }}
- template: jinja - template: jinja
- user: consul - user: consul
- group: consul - group: consul