mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-19 11:36:39 +00:00
This commit introduces a unified mechanism to configure client_max_body_size for both HTML and upload locations in the sys-svc-proxy role. The directive is now injected early in html.conf.j2 and moved to a dedicated block in upload.conf.j2 to ensure consistent behavior for large file uploads such as OpenProject attachments. Additionally: - Added client_max_body_size variable override from web-app-openproject (set to 30m). - Reordered header includes to avoid duplicate injection. - Improved comments and structure for better clarity. Reference: https://chatgpt.com/share/691d873e-9b50-800f-ae70-baf8bf1e5454
39 lines
950 B
YAML
39 lines
950 B
YAML
---
|
|
- name: "load docker, db and proxy for {{ application_id }}"
|
|
include_role:
|
|
name: sys-stk-full-stateful
|
|
vars:
|
|
client_max_body_size: "30m"
|
|
|
|
- name: "Create {{ OPENPROJECT_PLUGINS_FOLDER }}"
|
|
file:
|
|
path: "{{ OPENPROJECT_PLUGINS_FOLDER }}"
|
|
state: directory
|
|
mode: '0755'
|
|
|
|
- name: "Transfering Gemfile.plugins to {{ OPENPROJECT_PLUGINS_FOLDER }}"
|
|
copy:
|
|
src: Gemfile.plugins
|
|
dest: "{{ [OPENPROJECT_PLUGINS_FOLDER,'Gemfile.plugins'] | path_join }}"
|
|
notify:
|
|
- docker compose up
|
|
- docker compose build
|
|
|
|
- name: "create {{ OPENPROJECT_DUMMY_VOLUME }}"
|
|
file:
|
|
path: "{{ OPENPROJECT_DUMMY_VOLUME }}"
|
|
state: directory
|
|
mode: "0755"
|
|
|
|
- name: flush docker service
|
|
meta: flush_handlers
|
|
|
|
- name: Deploy Settings
|
|
include_tasks: 01_settings.yml
|
|
|
|
- name: Setup LDAP
|
|
include_tasks: 02_ldap.yml
|
|
when: OPENPROJECT_LDAP_ENABLED | bool
|
|
|
|
- name: Create OpenProject Administrator
|
|
include_tasks: 03_admin.yml |