mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
BBB runs the external bigbluebutton/docker project (host networking, node-local stateful stack) and cannot be a docker stack deploy service. Add a per-role compose_mode override so it deploys via node-local compose up on STACK_HOST even inside a swarm cluster: - sys-svc-compose: compose_mode_force (per-role override) + computed compose_mode (SPOT) in defaults; up.yml + handlers route on compose_mode instead of DEPLOYMENT_MODE. - container_address: honour compose_mode_force so a node-local role's exec targets its compose container (bare name), not a swarm service. - web-app-bigbluebutton: compose_mode_force=compose, ungate compose generation for swarm, flush handlers in-scope, and add services.bigbluebutton.ports.internal.http for the swarm proxy upstream. - web-app-matrix: add services.element.ports.internal.http (swarm proxy). - test_variant_bundles: pin compose mode in the main test so it is not polluted by another test leaking INFINITO_DEPLOY_MODE=swarm. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
6 lines
568 B
YAML
6 lines
568 B
YAML
---
|
|
compose_handlers_flush: false # Set to true in the vars/main.yml of the including role to autoflush after compose routine
|
|
compose_mode_force: "" # A role may set this to 'compose' or 'swarm' in its vars to override the cluster DEPLOYMENT_MODE for that role only
|
|
compose_mode: "{{ compose_mode_force or DEPLOYMENT_MODE }}" # Effective deploy mode for this role (SPOT): the per-role override if set, else the cluster mode
|
|
compose_repository_pull: "{{ compose_repository_url is defined and compose_repository_url is string and compose_repository_url | length > 0 }}"
|