10 lines
421 B
Plaintext
Raw Normal View History

2022-09-02 18:00:22 +02:00
{% if nomad_conf.tls.http %}
export NOMAD_ADDR=https://localhost:{{ nomad_services.http.port }}
export NOMAD_CACERT={{ nomad_conf.tls.ca_file }}
2022-09-04 00:00:24 +02:00
{% if nomad_vault_tls.enabled %}
2022-09-02 18:00:22 +02:00
export NOMAD_CLIENT_CERT={{ nomad_root_dir }}/tls/cli.crt
export NOMAD_CLIENT_KEY={{ nomad_root_dir }}/tls/cli.key
2022-09-04 00:00:24 +02:00
export NOMAD_TLS_SERVER_NAME={{ nomad_conf.server.enabled | ternary('server', 'client') }}.global.nomad
2022-09-02 18:00:22 +02:00
{% endif %}
{% endif %}