Fixed typo
This commit is contained in:
parent
5a3c58a0c6
commit
54f5ce0389
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ consul_config:
|
||||||
{% set outer_loop = loop %}
|
{% set outer_loop = loop %}
|
||||||
{% for check in service.checks %}
|
{% for check in service.checks %}
|
||||||
{% if check.script %}
|
{% if check.script %}
|
||||||
consul_service_register_{{ outer_loopindex }}_{{ loop.index }}:
|
consul_service_register_{{ outer_loop.index }}_{{ loop.index }}:
|
||||||
file.managed:
|
file.managed:
|
||||||
- source: {{ check.script }}
|
- source: {{ check.script }}
|
||||||
- name: /opt/consul/scripts/{{ check.script.split('/')[-1] }}
|
- name: /opt/consul/scripts/{{ check.script.split('/')[-1] }}
|
||||||
|
|
Loading…
Reference in a new issue