Konfiguriere ES

This commit is contained in:
phil 2021-11-28 16:13:57 +01:00
parent fa520a1165
commit e016c6e5a6

View file

@ -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 }}"