consul: don't make health.sh use optional

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-11-23 13:37:22 +01:00
parent 6b296be196
commit cedacfca7a
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4

View File

@ -14,8 +14,7 @@
type: 'tcp'
tcp: 'localhost:{{ postgres_ha_cont_port }}'
- id: '{{ postgres_ha_service_name }}-mirror'
- id: '{{ postgres_ha_service_name }}-{{ postgres_ha_replica_enabled | ternary("replica", "tables") }}'
name: 'PostgreSQL {{ postgres_ha_replica_enabled | ternary("Replica", "Tables") }} Healthcheck'
disabled: '{{ not postgres_ha_replica_enabled }}'
type: 'script'
script: '{{ postgres_ha_service_path }}/health.sh'