Have nomad talk to vault over loopback

This commit is contained in:
IamTheFij 2022-08-30 15:15:10 -07:00
parent 3d3cc25951
commit 226eb6cb05

View File

@ -377,7 +377,9 @@
# until Nomad has started. Could maybe figure out if ACLs have been set up and leave # until Nomad has started. Could maybe figure out if ACLs have been set up and leave
# these out until the later play, maybe just bootstrap the nomad-cluster role in Vault # these out until the later play, maybe just bootstrap the nomad-cluster role in Vault
# befor Nomad is set up # befor Nomad is set up
nomad_vault_address: "http://vault.service.consul:8200" # nomad_vault_address: "http://vault.service.consul:8200"
# Only talk to local Vault for now because it doesn't have HTTPS
nomad_vault_address: "http://127.0.0.1:8200"
nomad_vault_create_from_role: "nomad-cluster" nomad_vault_create_from_role: "nomad-cluster"
# TODO: Probably want to restict this to a narrower scoped token # TODO: Probably want to restict this to a narrower scoped token
nomad_vault_enabled: "{{ root_token is defined }}" nomad_vault_enabled: "{{ root_token is defined }}"