22 lines
507 B
Django/Jinja
22 lines
507 B
Django/Jinja
|
|
storage "raft" {
|
|
path = "/opt/vault/raft/"
|
|
node_id = "{{ inventory_hostname }}"
|
|
}
|
|
|
|
listener "tcp" {
|
|
address = "{{ vault_listener_address}}:8200"
|
|
cluster_address = "{{ vault_listener_address}}:8201"
|
|
tls_disable = 1
|
|
}
|
|
api_addr = "http://{{ vault_listener_address}}:8200"
|
|
cluster_addr = "http://{{ ansible_default_ipv4.address }}:8201"
|
|
ui= true
|
|
disable_mlock = true
|
|
|
|
service_registration "consul" {
|
|
address = "127.0.0.1:8500"
|
|
service_address = "{{ ansible_default_ipv4.address }}"
|
|
}
|
|
|