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