Translate tasks into English

This commit is contained in:
phil 2023-07-04 22:11:22 +02:00
parent 6fb50f7254
commit 8f30abee4f
2 changed files with 11 additions and 11 deletions

View file

@ -1,18 +1,18 @@
---
- name: "Opensearch | Füge Schlüssel des Apt-Repositories hinzu"
- name: "Opensearch | Add repository key"
ansible.builtin.apt_key:
url: "{{ opensearch_apt_key_url }}"
- name: "Opensearch | Füge Repository hinzu"
- name: "Opensearch | Add repository"
ansible.builtin.apt_repository:
repo: "deb {{ opensearch_apt_repo }}"
update_cache: true
- name: "Opensearch | Installiere deb-Paket"
- name: "Opensearch | Install opensearch"
ansible.builtin.apt:
name: opensearch
- name: "Opensearch | Installiere Ingest-Plugin"
- name: "Opensearch | Install plugins"
ansible.builtin.command:
cmd: ./opensearch-plugin install ingest-attachment --batch
chdir: /usr/share/opensearch/bin/
@ -20,13 +20,13 @@
become: true
become_user: opensearch
- name: "Opensearch | Kopiere Opensearch-Konfiguration"
- name: "Opensearch | Copy opensearch configuration"
ansible.builtin.template:
src: opensearch.yml.j2
dest: /etc/opensearch/opensearch.yml
mode: "0644"
- name: "Opensearch | Setze empfohlene Optionen"
- name: "Opensearch | Add recommendations for JVM options"
ansible.builtin.replace:
path: /etc/opensearch/jvm.options
regexp: "{{ item.regexp }}"
@ -38,27 +38,27 @@
replace: -Xmx{{ (ansible_memtotal_mb / 1024 * 0.5) | round | int }}g
notify: restart opensearch
- name: "Opensearch | Starte Opensearch-Dienst"
- name: "Opensearch | Start opensearch"
ansible.builtin.systemd:
name: opensearch
enabled: true
state: started
daemon_reload: true
- name: "Opensearch | Richte Monit-Überwachung ein"
- name: "Opensearch | Enable Monit monitoring"
ansible.builtin.template:
src: opensearch.monit.j2
dest: /etc/monit/conf-enabled/opensearch
mode: "0644"
notify: reload monit
- name: "Opensearch | Kopiere Update-Skript"
- name: "Opensearch | Copy update script"
ansible.builtin.template:
src: update-opensearch-plugins.j2
dest: "/usr/local/bin/{{ opensearch_plugin_update_script }}"
mode: "0755"
- name: "Opensearch | Kopiere DPKG-Hook"
- name: "Opensearch | Enable dpkg hook"
ansible.builtin.template:
src: 72opensearch-updates.j2
dest: /etc/apt/apt.conf.d/72opensearch-updates

View file

@ -1,5 +1,5 @@
# {{ ansible_managed }}
# Neuinstallation der Plugins
# Reinstall Plugins
DPkg::Pre-Invoke {"/usr/local/bin/{{ opensearch_plugin_update_script }} purge";};
DPkg::Post-Invoke {"/usr/local/bin/{{ opensearch_plugin_update_script }} install";};