mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-17 15:56:04 +02:00
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
23 lines
606 B
YAML
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)
|