Fehlerkorrekturen

This commit is contained in:
phil 2021-11-27 21:09:09 +01:00
parent 48c86c7863
commit 73589728ef
2 changed files with 8 additions and 3 deletions

View file

@ -1,12 +1,14 @@
- name: "elastic | Hole Paket"
get_url:
url: "{{ es_url }}"
path: "{{ es_dl_path }}"
dest: "{{ es_dl_path }}"
when: "'elasticsearch-oss' in ansible_facts.packages == False"
- name: "elastic | Installiere Paket"
command: "dpkg -i elasticsearch-oss-{{ es_version }}-amd64.deb"
args:
chdir: "{{ es_dl_path }}"
when: "'elasticsearch-oss' in ansible_facts.packages == False"
- name: "elastic | Prüfe Plugin"
stat:
@ -16,7 +18,7 @@
- name: "elastic | Hole Plugin"
get_url:
url: "{{ es_ingest_attachment_url }}"
path: "{{ es_dl_path }}"
dest: "{{ es_dl_path }}"
when: ingest_plugin.stat.exists == False
- name: "eleastic | Installiere Plugin"
@ -45,6 +47,8 @@
chdir: "{{ zammad_home }}"
environment:
RAILS_ENV: production
become: true
become_user: "{{ zammad_user }}"
- name: "elastic | Erstelle Such-Index"
shell:
@ -52,3 +56,5 @@
chdir: "{{ zammad_home }}"
environment:
RAILS_ENV: production
become: true
become_user: "{{ zammad_user }}"

View file

@ -33,5 +33,4 @@
- name: Elastic
include_tasks: elastic.yml
when: "'elasticsearch-oss' in ansible_facts.packages == False"
tags: elastic