mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-03 23:26:58 +02:00
Update to 2023-07-08 16:00
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
{% if nomad_conf.tls.http and nomad_conf.server.enabled %}
|
||||
export NOMAD_ADDR=https://localhost:{{ nomad_services.http.port }}
|
||||
export NOMAD_CACERT={{ nomad_conf.tls.ca_file }}
|
||||
{% if nomad_vault_secrets.pki.enabled %}
|
||||
export NOMAD_CLIENT_CERT={{ nomad_root_dir }}/tls/cli.crt
|
||||
export NOMAD_CLIENT_KEY={{ nomad_root_dir }}/tls/cli.key
|
||||
export NOMAD_TLS_SERVER_NAME=server.{{ nomad_conf.region | default('global') }}.nomad
|
||||
{% endif %}
|
||||
{% else %}
|
||||
# TLS not enabled or not running in server mode
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user