mirror of
https://github.com/status-im/infra-role-postgres-ha.git
synced 2025-02-19 18:08:20 +00:00
consul: don't make health.sh use optional
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
6b296be196
commit
cedacfca7a
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user