Files
computer-playbook/roles/web-app-taiga/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

26 lines
810 B
YAML

---
- name: "load docker, db and proxy for {{ application_id }}"
include_role:
name: sys-stk-full-stateful
vars:
docker_compose_flush_handlers: false
- name: "copy templates {{ TAIGA_SETTING_FILES }} for taiga-contrib-oidc-auth"
template:
src: "taiga/{{item}}.py.j2"
dest: "{{ [ docker_compose.directories.config, 'taiga-' ~ item ~ '.py'] | path_join }}"
when: TAIGA_TAIGAIO_ENABLED | bool
notify: docker compose up
loop: "{{ TAIGA_SETTING_FILES }}"
- name: "create {{ TAIGA_DOCKER_COMPOSE_INIT_PATH }}"
template:
src: "docker-compose-inits.yml.j2"
dest: "{{ TAIGA_DOCKER_COMPOSE_INIT_PATH }}"
notify: docker compose up
- name: "Flush Taiga handlers"
meta: flush_handlers
- name: "Include Taiga administrator routines"
include_tasks: 01_administrator.yml