Konfiguriere ES
This commit is contained in:
parent
fa520a1165
commit
e016c6e5a6
1 changed files with 18 additions and 0 deletions
|
@ -52,3 +52,21 @@
|
|||
RAILS_ENV: production
|
||||
become: true
|
||||
become_user: "{{ zammad_user }}"
|
||||
|
||||
- name: "elastic | Konfiguriere Datei-Erweiterungen"
|
||||
shell:
|
||||
cmd: rbenv exec rails r "Setting.set('es_attachment_ignore', [ '.png', '.jpg', '.jpeg', '.mpeg', '.mpg', '.mov', '.bin', '.exe', '.box', '.mbox' ] )"
|
||||
chdir: "{{ zammad_home }}"
|
||||
environment:
|
||||
RAILS_ENV: production
|
||||
become: true
|
||||
become_user: "{{ zammad_user }}"
|
||||
|
||||
- name: "elastic | Konfiguriere Datei-Größen"
|
||||
shell:
|
||||
cmd: rbenv exec rails r "Setting.set('es_attachment_max_size_in_mb', {{ es_attachment_max_size }})"
|
||||
chdir: "{{ zammad_home }}"
|
||||
environment:
|
||||
RAILS_ENV: production
|
||||
become: true
|
||||
become_user: "{{ zammad_user }}"
|
||||
|
|
Loading…
Reference in a new issue