ansible-community / ansible-nomad

:watch: Ansible role for Nomad
https://galaxy.ansible.com/brianshumate/nomad
BSD 2-Clause "Simplified" License
294 stars 163 forks source link

Allow to configure communication from Nomad to Consul over TLS #129

Closed DaazKu closed 2 years ago

DaazKu commented 3 years ago

This configuration is currently impossible to set and is required if you have Consul working over TLS.

kedai commented 2 years ago

There's a duplicate config for the consul ssl, line 25-28 & 43-46.

cabbageman8 commented 2 years ago

These additions are redundant and cause an error because Consul does not expect duplicated config. "Error loading configuration from /etc/nomad.d/base.hcl: Error loading /etc/nomad.d/base.hcl: consul unexpected keys ca_file, cert_file, key_file, ssl"