zammad: Installiere Opensearch statt ES

This commit is contained in:
phil 2023-02-01 12:03:48 +01:00
parent e287a82aec
commit 84bc66fb08
7 changed files with 110 additions and 94 deletions

View file

@ -0,0 +1,5 @@
check process opensearch with pidfile /run/opensearch/opensearch.pid
start program = "/usr/sbin/service opensearch start"
stop program = "/usr/sbin/service opensearch stop"
if failed host {{ opensearch.network_host }} port {{ opensearch.http_port }} for 3 cycles then restart
if 5 restarts within 5 cycles then timeout

11
templates/opensearch.yml Normal file
View file

@ -0,0 +1,11 @@
# {{ ansible_managed }}
path.data: /var/lib/opensearch
path.logs: /var/log/opensearch
network.host: {{ opensearch.network_host }}
http.port: {{ opensearch.http_port }}
discovery.type: single-node
compatibility.override_main_response_version: true
plugins.security.disabled: true