2023-07-05 19:00:07 +02:00
|
|
|
{% if consul_conf.server %}
|
|
|
|
export CONSUL_HTTP_ADDR=http://localhost:{{ consul_services.http.port }}
|
2022-09-04 14:00:17 +02:00
|
|
|
{% else %}
|
2023-07-05 19:00:07 +02:00
|
|
|
# not running in server mode
|
2022-09-04 14:00:17 +02:00
|
|
|
{% endif %}
|