--- - name: 'Consul service definition - {{ faucet_cont_name }}' include_role: name=infra-role-consul-service vars: consul_config_name: '{{ faucet_cont_name | replace("-", "_") }}' consul_services: - name: '{{ faucet_cont_name }}' tags: ['{{ env }}.{{ stage }}', 'faucet', 'api', 'ssl-proxy-backend'] port: '{{ faucet_cont_port }}' address: '{{ ansible_local.wireguard.address }}' meta: proxy_fqdn: '{{ faucet_domain }}' checks: - id: '{{ faucet_cont_name }}-health' name: Faucet HTTP API type: 'http' http: 'http://localhost:{{ faucet_cont_port }}/faucet-info'