ansible-collections / ansible-consul

:satellite: Ansible role for Hashicorp Consul clusters
https://galaxy.ansible.com/ansible-community/consul/
BSD 2-Clause "Simplified" License
450 stars 313 forks source link

Missing DNS cache settings for consul agent #600

Open garry-t opened 2 months ago

garry-t commented 2 months ago
SUMMARY

I want to enable dns cache ttl like described here https://developer.hashicorp.com/consul/docs/services/discovery/dns-cache

ISSUE TYPE
COMPONENT NAME

consul config

ANSIBLE VERSION

not relevant

COLLECTION VERSION

not relevant

CONFIGURATION

not relevant. since no parameter in role available

OS / ENVIRONMENT

all

STEPS TO REPRODUCE

missing parameters

EXPECTED RESULTS

user able to set dns caching properties like foc consul config.json

dns_config {
  service_ttl {
    "*" = "5s"
    "web" = "30s"
    "db*" = "10s"
    "db-master" = "3s"
  }
}
ACTUAL RESULTS

not possible to set