Files
hobbs-iac/ansible/roles/consul/templates/consul.hcl.j2
T
pluto 3d3c1af237 Initial IaC setup: Nomad, Consul, Terraform, Ansible
- Ansible roles for Nomad and Consul installation
- Nomad job specs for Traefik and monitoring stack
- Terraform configuration for Nomad job management
- Enterprise naming convention inventory
- HashiCorp stack deployment playbook
2026-02-04 08:52:08 -06:00

35 lines
490 B
Django/Jinja

# Consul Configuration
# Managed by Ansible
datacenter = "{{ datacenter }}"
data_dir = "{{ consul_data_dir }}/data"
node_name = "{{ inventory_hostname }}"
bind_addr = "{{ ansible_host }}"
client_addr = "0.0.0.0"
ui_config {
enabled = true
}
# DNS settings
dns_config {
allow_stale = true
}
# Service mesh
connect {
enabled = true
}
# Telemetry
telemetry {
prometheus_retention_time = "24h"
disable_hostname = true
}
# Performance
performance {
raft_multiplier = 1
}