Optimized setup procedure in preparation for automatic keycloak realm import

This commit is contained in:
2025-02-18 15:07:09 +01:00
parent 671448dbfc
commit e87c3e2090
7 changed files with 17 additions and 14 deletions

View File

@@ -17,11 +17,11 @@
- name: flush docker service
meta: flush_handlers
when: mode_setup |bool
when: appplications.mailu.setup |bool
- name: execute database migration
command:
cmd: "docker compose -p mailu exec admin flask mailu admin admin {{primary_domain}} {{mailu_initial_root_password}}"
chdir: "{{docker_compose.directories.instance}}"
ignore_errors: true
when: mode_setup |bool
when: appplications.mailu.setup |bool