zammad: Installiere Opensearch statt ES
This commit is contained in:
parent
e287a82aec
commit
84bc66fb08
7 changed files with 110 additions and 94 deletions
5
templates/opensearch.monit
Normal file
5
templates/opensearch.monit
Normal 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
11
templates/opensearch.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue