mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-03 23:26:58 +02:00
Update to 2022-09-02 18:00
This commit is contained in:
8
roles/nomad/templates/profile.sh.j2
Normal file
8
roles/nomad/templates/profile.sh.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
{% if nomad_conf.tls.http %}
|
||||
export NOMAD_ADDR=https://localhost:{{ nomad_services.http.port }}
|
||||
export NOMAD_CACERT={{ nomad_conf.tls.ca_file }}
|
||||
{% if nomad_vault.enabled %}
|
||||
export NOMAD_CLIENT_CERT={{ nomad_root_dir }}/tls/cli.crt
|
||||
export NOMAD_CLIENT_KEY={{ nomad_root_dir }}/tls/cli.key
|
||||
{% endif %}
|
||||
{% endif %}
|
Reference in New Issue
Block a user