Files
computer-playbook/roles/dsk-code/meta/services.yml
T
kevinveenbirkenbachandClaude Opus 5 d76358ba24 fix(dsk-code): register the editor service and order its run-once flag
The role carried a primary entry with modes, flavor and limits but never declared itself the provider of the code service, so a role referencing it found nobody registering it. Continues fc5ad87dc5.

Registering turns the role into one load/app.yml pulls in dynamically, and that path checks run_once_dsk_code before including it. With the flag set at the end of 00_core.yml a second load attempt would still see it absent and include the role again, so it moves to the first task as 3bfeba1243 did for the other shared providers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-04 00:56:01 +02:00

32 lines
918 B
YAML

---
# nocheck: dynamic-flag the desktop base is the premise of every dsk role, not a per-host option
desktop-base:
bond: 1
enabled: true
shared: true
# nocheck: playwright-service-flag self-provider
code:
bond: 1
enabled: true
shared: true
modes:
host:
enabled: true
lifecycle: alpha
flavor: code-oss
min_storage: "1GB"
cpus: "2.0"
mem_reservation: "512m"
mem_limit: "4g"
pids_limit: 1024
# nocheck: playwright-service-flag, dynamic-flag workstation agent, carried as an editor extension when the host deploys it
claude:
bond: 0.5
enabled: "{{ 'dsk-gnt-claude' in group_names }}"
shared: "{{ 'dsk-gnt-claude' in group_names }}"
# nocheck: playwright-service-flag, dynamic-flag workstation agent, carried as an editor extension when the host deploys it
codex:
bond: 0.5
enabled: "{{ 'dsk-gnt-codex' in group_names }}"
shared: "{{ 'dsk-gnt-codex' in group_names }}"