ansible-roles/roles/consul/templates/profile.sh.j2

6 lines
153 B
Plaintext
Raw Normal View History

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 %}