mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
- Introduced dedicated variables in vars/main.yml: * TAIGA_FLAVOR_TAIGAIO * TAIGA_TAIGAIO_ENABLED - Replaced inline Jinja2 get_app_conf checks with TAIGA_TAIGAIO_ENABLED for consistency in tasks, docker-compose template and env file. - Adjusted env.j2 to use TAIGA_TAIGAIO_ENABLED instead of direct flavor checks. - Enabled css by default (true instead of false). - Cleaned up spacing/indentation in config and env. This improves readability, reduces duplicated logic, and makes it easier to maintain both OIDC flavors (robrotheram, taigaio). Conversation: https://chatgpt.com/share/68af65b3-27c0-800f-964f-ff4f2d96ff5d
20 lines
587 B
YAML
20 lines
587 B
YAML
---
|
|
- name: "load docker, db and proxy for {{ application_id }}"
|
|
include_role:
|
|
name: cmp-db-docker-proxy
|
|
|
|
- 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"
|
|
when: TAIGA_TAIGAIO_ENABLED | bool
|
|
notify: docker compose up
|
|
loop: "{{ TAIGA_SETTING_FILES }}"
|
|
|
|
- name: "create {{ TAIGA_DOCKER_COMPOSE_INIT }}"
|
|
template:
|
|
src: "docker-compose-inits.yml.j2"
|
|
dest: "{{ TAIGA_DOCKER_COMPOSE_INIT }}"
|
|
notify: docker compose up
|
|
|