add consul service registration

This commit is contained in:
vincent 2023-08-27 15:42:33 +02:00
parent 1af4cfa087
commit 13f9dfb4dd

View File

@ -13,3 +13,9 @@ 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 }}"
}