diff --git a/defaults/main.yml b/defaults/main.yml index c89062a8c669b57e66b009581fdd3f1196bcd44a..0611098b1df17842919d706e437fd223f29a72e7 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -26,6 +26,10 @@ zammad: geo_ip_backend: "" geo_location_backend: "" image_backend: "" + environment: + # How many instances of the application server to keep open at a time. + # Increasing this can reduce loading times when too many users are on Zammad at once. + web_concurrency: 1 email_signatures: {} #email_notification_settings: {} email_notification_templates: {} diff --git a/tasks/main.yml b/tasks/main.yml index fb6df738a1d23b4220d481bfb736c30ccf268a3b..210e2a83215bf8b76bbf6c2b10f106733443c79d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -80,6 +80,9 @@ overviews: "{{ zammad.overviews }}" notify: build zammad elastic search index +- name: set zammad environment variables + ansible.builtin.shell: "zammad config:set WEB_CONCURRENCY={{ zammad.environment.web_concurrency }}" + - name: update notification templates zammad_notification_templates: templates: "{{ zammad.email_notification_templates }}"