infra/ansible/roles/local-server-head/files/consul.hcl
shockrah 4851b6521c
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 15s
consul config
2025-05-12 01:05:54 -07:00

11 lines
208 B
HCL

bind_addr = "{{ GetInterfaceIP 'eno1' }}"
advertise_addr = "{{ GetInterfaceIP 'eno1' }}"
client_addr = "{{ GetInterfaceIP 'eno1' }}"
server = true
data_dir = "/opt/consul"
ui_config {
enabled = true
}