Inital commit
This commit is contained in:
commit
34c7873af9
8 changed files with 121 additions and 0 deletions
5
templates/72opensearch-updates.j2
Normal file
5
templates/72opensearch-updates.j2
Normal file
|
@ -0,0 +1,5 @@
|
|||
# {{ ansible_managed }}
|
||||
# Neuinstallation der Plugins
|
||||
|
||||
DPkg::Pre-Invoke {"/usr/local/bin//{{ opensearch_plugin_update_script }} purge";};
|
||||
DPkg::Post-Invoke {"/usr/local/bin//{{ opensearch_plugin_update_script }} install";};
|
7
templates/opensearch.monit.j2
Normal file
7
templates/opensearch.monit.j2
Normal file
|
@ -0,0 +1,7 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
check process {{ opensearch_monit_service }} 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.j2
Normal file
11
templates/opensearch.yml.j2
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