Files
computer-playbook/roles/sys-stk-back-stateful/tasks/main.yml
Kevin Veen-Birkenbach 6ea8301364 Refactor: migrate cmp/* and srv/* roles into sys-stk/* and sys-svc/* namespaces
- Removed obsolete 'cmp' category, introduced 'stk' category (fa-bars-staggered icon).
- Renamed roles:
  * cmp-db-docker → sys-stk-back-stateful
  * cmp-docker-oauth2 → sys-stk-back-stateless
  * srv-domain-provision → sys-stk-front
  * cmp-db-docker-proxy → sys-stk-full-stateful
  * cmp-docker-proxy → sys-stk-full-stateless
  * cmp-rdbms → sys-svc-rdbms
- Updated all include_role references, vars, templates and README.md files.
- Adjusted run_once comments and variable paths accordingly.
- Updated all web-app roles to use new sys-stk/* and sys-svc/* roles.

Conversation: https://chatgpt.com/share/68b0ba66-09f8-800f-86fc-76c47009d431
2025-08-28 22:23:09 +02:00

19 lines
736 B
YAML

# run_once_sys_stk_back_stateful: disabled
- name: "For '{{ application_id }}': Set database_application_id (Needed due to lazzy loading issue)"
set_fact:
database_application_id: "{{ application_id }}"
- name: "For '{{ application_id }}': Load database variables"
include_vars: "{{ item }}"
loop:
- "{{ DOCKER_VARS_FILE }}" # Important to load docker variables first so that database can use them
- "{{ DATABASE_VARS_FILE }}" # Important to load them before docker role so that backup can use them
- name: "For '{{ application_id }}': Load central RDBMS"
include_role:
name: sys-svc-rdbms
- name: "For '{{ application_id }}': Load sys-stk-back-stateless"
include_role:
name: sys-stk-back-stateless