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

View file

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