2019-03-19 11:08:13 +00:00
|
|
|
---
|
|
|
|
- name: 'Consul service definition - {{ faucet_cont_name }}'
|
2024-03-15 10:33:37 +00:00
|
|
|
include_role: name=infra-role-consul-service
|
2019-03-19 11:08:13 +00:00
|
|
|
vars:
|
|
|
|
consul_config_name: '{{ faucet_cont_name | replace("-", "_") }}'
|
|
|
|
consul_services:
|
2019-03-19 16:27:49 +00:00
|
|
|
- name: '{{ faucet_cont_name }}'
|
2022-10-20 21:08:34 +00:00
|
|
|
tags: ['{{ env }}.{{ stage }}', 'faucet', 'api', 'ssl-proxy-backend']
|
2021-03-25 12:03:16 +00:00
|
|
|
port: '{{ faucet_cont_port }}'
|
2022-10-20 21:08:34 +00:00
|
|
|
address: '{{ ansible_local.wireguard.address }}'
|
|
|
|
meta:
|
|
|
|
proxy_fqdn: '{{ faucet_domain }}'
|
2019-03-19 11:08:13 +00:00
|
|
|
checks:
|
2019-08-10 06:15:21 +00:00
|
|
|
- id: '{{ faucet_cont_name }}-health'
|
2019-03-19 16:27:49 +00:00
|
|
|
name: Faucet HTTP API
|
2021-03-25 12:03:16 +00:00
|
|
|
type: 'http'
|
|
|
|
http: 'http://localhost:{{ faucet_cont_port }}/faucet-info'
|