diff options
author | pmikus <peter.mikus@protonmail.ch> | 2023-09-04 10:17:48 +0000 |
---|---|---|
committer | pmikus <peter.mikus@protonmail.ch> | 2023-09-04 10:17:48 +0000 |
commit | 2c444586dad69f6d3976a72c9e50ef34c306d038 (patch) | |
tree | 26a6c39fe2382580574d4752c6a50b598be4f0e3 /fdio.infra.ansible/roles/consul/templates | |
parent | cfc7541eced4947eb0a3853c2090aadab9027411 (diff) |
feat(ansible): Consul upgrade
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ifde27d3bd637364e3a1cc56477e79f26f0e57827
Diffstat (limited to 'fdio.infra.ansible/roles/consul/templates')
-rw-r--r-- | fdio.infra.ansible/roles/consul/templates/ports.hcl.j2 | 2 | ||||
-rw-r--r-- | fdio.infra.ansible/roles/consul/templates/services.json.j2 | 13 |
2 files changed, 1 insertions, 14 deletions
diff --git a/fdio.infra.ansible/roles/consul/templates/ports.hcl.j2 b/fdio.infra.ansible/roles/consul/templates/ports.hcl.j2 index a658060ce8..02932bf6dc 100644 --- a/fdio.infra.ansible/roles/consul/templates/ports.hcl.j2 +++ b/fdio.infra.ansible/roles/consul/templates/ports.hcl.j2 @@ -2,7 +2,7 @@ ports { dns = {{ consul_port_dns }} http = {{ consul_port_http }} https = {{ consul_port_https }} - grpc = {{ consul_port_grpc }} + grpc_tls = {{ consul_port_grpc }} serf_lan = {{ consul_port_serf_lan }} serf_wan = {{ consul_port_serf_wan }} server = {{ consul_port_server }} diff --git a/fdio.infra.ansible/roles/consul/templates/services.json.j2 b/fdio.infra.ansible/roles/consul/templates/services.json.j2 deleted file mode 100644 index 3245ba92a4..0000000000 --- a/fdio.infra.ansible/roles/consul/templates/services.json.j2 +++ /dev/null @@ -1,13 +0,0 @@ -{ - "services": [ -{% for item in consul_services %} - { - "name": "{{ item.name }}", - "port": {{ item.port }} - } -{%- if not loop.last %}, -{% endif %} -{% endfor %} - - ] -}
\ No newline at end of file |