2020-08-27 19:26:40 +00:00
|
|
|
ui = true
|
2020-10-13 02:39:23 +00:00
|
|
|
|
2020-08-27 19:26:40 +00:00
|
|
|
listener "tcp" {
|
2020-10-13 02:39:23 +00:00
|
|
|
address = "127.0.0.1:8200"
|
|
|
|
tls_cert_file = "/etc/vault.d/certs/vault.pem"
|
|
|
|
tls_key_file = "/etc/vault.d/certs/vault.key"
|
2020-08-27 19:26:40 +00:00
|
|
|
}
|
2020-10-13 02:39:23 +00:00
|
|
|
|
|
|
|
listener "tcp" {
|
|
|
|
address = "{{ ansible_default_ipv4.address }}:8200"
|
|
|
|
tls_cert_file = "/etc/vault.d/certs/vault.pem"
|
|
|
|
tls_key_file = "/etc/vault.d/certs/vault.key"
|
|
|
|
}
|
|
|
|
|
2020-10-14 01:42:39 +00:00
|
|
|
api_addr = "https://{{ ansible_default_ipv4.address }}:8200"
|
|
|
|
cluster_addr = "https://{{ ansible_default_ipv4.address }}:8201"
|
2020-10-13 02:39:23 +00:00
|
|
|
|
2020-08-27 19:26:40 +00:00
|
|
|
storage "consul" {
|
|
|
|
address = "localhost:8500"
|
|
|
|
path = "vault/"
|
2022-11-06 02:11:23 +00:00
|
|
|
token = "{{ lookup('hashi_vault', 'secret=kv/data/vault:consul-acl ca_cert=/etc/pki/certs/MaskedName_Root_CA.crt') }}"
|
2020-08-27 19:26:40 +00:00
|
|
|
}
|