Files
computer-playbook/roles/web-app-xwiki/tasks/_flush_config.yml
Kevin Veen-Birkenbach 62493ac5a9 XWiki: increase installer execution timeout and add retries
The task 'XWIKI | Execute installer page' now uses:
- timeout: 300 (allow up to 5 min per request)
- retries: 20
- delay: 15
- until: condition

This prevents early failures during the first Distribution Wizard bootstrap when hundreds of extensions are still being installed.

Context: https://chatgpt.com/share/68ca0f18-2124-800f-a70d-df1811966107
2025-09-17 03:30:40 +02:00

23 lines
606 B
YAML

- name: "Deploy xwiki.properties"
template:
src: "xwiki.properties.j2"
dest: "{{ XWIKI_HOST_PROPERTIES_PATH }}"
notify: docker compose up
- name: "flush docker compose for '{{ application_id }}'"
meta: flush_handlers
- name: "Wait until XWiki REST is ready (no DW redirect)"
uri:
url: "{{ XWIKI_REST_BASE }}"
status_code: [200, 401]
return_content: no
follow_redirects: none
register: xwiki_rest_up
changed_when: false
retries: 60
delay: 5
until:
- xwiki_rest_up is succeeded
- (xwiki_rest_up.redirected is not defined) or (not xwiki_rest_up.redirected)