Translate tasks into English
This commit is contained in:
parent
6fb50f7254
commit
8f30abee4f
2 changed files with 11 additions and 11 deletions
|
@ -1,18 +1,18 @@
|
||||||
---
|
---
|
||||||
- name: "Opensearch | Füge Schlüssel des Apt-Repositories hinzu"
|
- name: "Opensearch | Add repository key"
|
||||||
ansible.builtin.apt_key:
|
ansible.builtin.apt_key:
|
||||||
url: "{{ opensearch_apt_key_url }}"
|
url: "{{ opensearch_apt_key_url }}"
|
||||||
|
|
||||||
- name: "Opensearch | Füge Repository hinzu"
|
- name: "Opensearch | Add repository"
|
||||||
ansible.builtin.apt_repository:
|
ansible.builtin.apt_repository:
|
||||||
repo: "deb {{ opensearch_apt_repo }}"
|
repo: "deb {{ opensearch_apt_repo }}"
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
- name: "Opensearch | Installiere deb-Paket"
|
- name: "Opensearch | Install opensearch"
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: opensearch
|
name: opensearch
|
||||||
|
|
||||||
- name: "Opensearch | Installiere Ingest-Plugin"
|
- name: "Opensearch | Install plugins"
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: ./opensearch-plugin install ingest-attachment --batch
|
cmd: ./opensearch-plugin install ingest-attachment --batch
|
||||||
chdir: /usr/share/opensearch/bin/
|
chdir: /usr/share/opensearch/bin/
|
||||||
|
@ -20,13 +20,13 @@
|
||||||
become: true
|
become: true
|
||||||
become_user: opensearch
|
become_user: opensearch
|
||||||
|
|
||||||
- name: "Opensearch | Kopiere Opensearch-Konfiguration"
|
- name: "Opensearch | Copy opensearch configuration"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: opensearch.yml.j2
|
src: opensearch.yml.j2
|
||||||
dest: /etc/opensearch/opensearch.yml
|
dest: /etc/opensearch/opensearch.yml
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
|
||||||
- name: "Opensearch | Setze empfohlene Optionen"
|
- name: "Opensearch | Add recommendations for JVM options"
|
||||||
ansible.builtin.replace:
|
ansible.builtin.replace:
|
||||||
path: /etc/opensearch/jvm.options
|
path: /etc/opensearch/jvm.options
|
||||||
regexp: "{{ item.regexp }}"
|
regexp: "{{ item.regexp }}"
|
||||||
|
@ -38,27 +38,27 @@
|
||||||
replace: -Xmx{{ (ansible_memtotal_mb / 1024 * 0.5) | round | int }}g
|
replace: -Xmx{{ (ansible_memtotal_mb / 1024 * 0.5) | round | int }}g
|
||||||
notify: restart opensearch
|
notify: restart opensearch
|
||||||
|
|
||||||
- name: "Opensearch | Starte Opensearch-Dienst"
|
- name: "Opensearch | Start opensearch"
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
name: opensearch
|
name: opensearch
|
||||||
enabled: true
|
enabled: true
|
||||||
state: started
|
state: started
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
|
|
||||||
- name: "Opensearch | Richte Monit-Überwachung ein"
|
- name: "Opensearch | Enable Monit monitoring"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: opensearch.monit.j2
|
src: opensearch.monit.j2
|
||||||
dest: /etc/monit/conf-enabled/opensearch
|
dest: /etc/monit/conf-enabled/opensearch
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
notify: reload monit
|
notify: reload monit
|
||||||
|
|
||||||
- name: "Opensearch | Kopiere Update-Skript"
|
- name: "Opensearch | Copy update script"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: update-opensearch-plugins.j2
|
src: update-opensearch-plugins.j2
|
||||||
dest: "/usr/local/bin/{{ opensearch_plugin_update_script }}"
|
dest: "/usr/local/bin/{{ opensearch_plugin_update_script }}"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
- name: "Opensearch | Kopiere DPKG-Hook"
|
- name: "Opensearch | Enable dpkg hook"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: 72opensearch-updates.j2
|
src: 72opensearch-updates.j2
|
||||||
dest: /etc/apt/apt.conf.d/72opensearch-updates
|
dest: /etc/apt/apt.conf.d/72opensearch-updates
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
# Neuinstallation der Plugins
|
# Reinstall Plugins
|
||||||
|
|
||||||
DPkg::Pre-Invoke {"/usr/local/bin/{{ opensearch_plugin_update_script }} purge";};
|
DPkg::Pre-Invoke {"/usr/local/bin/{{ opensearch_plugin_update_script }} purge";};
|
||||||
DPkg::Post-Invoke {"/usr/local/bin/{{ opensearch_plugin_update_script }} install";};
|
DPkg::Post-Invoke {"/usr/local/bin/{{ opensearch_plugin_update_script }} install";};
|
||||||
|
|
Loading…
Reference in a new issue