Fehlerkorrekturen
This commit is contained in:
parent
48c86c7863
commit
73589728ef
2 changed files with 8 additions and 3 deletions
|
@ -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 }}"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue