mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
- 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
22 lines
828 B
YAML
22 lines
828 B
YAML
---
|
|
- name: "include create-domains.yml for peertube"
|
|
include_tasks: create-domains.yml
|
|
loop: "{{ domains['web-app-peertube'] }}"
|
|
loop_control:
|
|
loop_var: domain
|
|
vars:
|
|
# Websockt and http listen to the same port
|
|
http_port: "{{ ports.localhost.http[application_id] }}"
|
|
ws_port: "{{ ports.localhost.http[application_id] }}"
|
|
|
|
- name: "load docker and db for {{ application_id }}"
|
|
include_role:
|
|
name: sys-stk-back-stateful
|
|
|
|
- name: "Install and activate auth-openid-connect plugin if OIDC is enabled"
|
|
include_tasks: enable-oidc.yml
|
|
when: applications | get_app_conf(application_id, 'features.oidc', False)
|
|
|
|
- name: "Deinstall and disable auth-openid-connect plugin if OIDC is enabled"
|
|
include_tasks: disable-oidc.yml
|
|
when: applications | get_app_conf(application_id, 'features.oidc', False) |