mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-14 14:26:04 +02:00
- Accept HTTP 302 (Distribution Wizard redirects) in REST readiness and extension checks - Treat 302 as missing admin user during bootstrap - Move superadmin password to xwiki.cfg (correct location) - Disable automatic Distribution Wizard start in xwiki.properties - Standardize run_once includes for postgres, cdn, and xwiki roles See: https://chatgpt.com/share/68c3a67b-80b4-800f-8a90-ebdcd4abb86c
15 lines
482 B
YAML
15 lines
482 B
YAML
- block:
|
|
- include_tasks: 01_core.yml
|
|
vars:
|
|
# Force the flush of the pg handler on the first run
|
|
flush_handlers: true
|
|
when: run_once_svc_db_postgres is not defined
|
|
|
|
- include_tasks: "{{ playbook_dir }}/tasks/utils/load_handlers.yml"
|
|
# Necessary because docker handlers are overwritten by condition
|
|
vars:
|
|
handler_role_name: "docker-compose"
|
|
|
|
- name: "Initialize database for '{{ database_name }}'"
|
|
include_tasks: 02_init.yml
|
|
when: POSTGRES_INIT | bool |