ansible-collections / ansible-consul

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

Use tls stanza on version >= 1.12 #500

Closed abarbare closed 2 years ago

abarbare commented 2 years ago

Previous TLS options are deprecated in consul 1.12 https://www.consul.io/docs/agent/config/config-files#tls_deprecated_options

the default version of tls_min_version is also updated following https://www.consul.io/docs/agent/config/config-files#tls_defaults_tls_min_version

This MR set the config file with new tls stanza