mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
categories.yml now declares modes defaults per category (deepest match wins, parents apply as fallback): update, drv and svc-net disable compose and swarm (host-hardware and host-networking categories), svc-registry requires both enabled (CI bootstrap infrastructure). role_modes_defaults resolves a role's policy; the new category-modes lint requires every deploy-bearing service entry to declare exactly those modes.<mode>.enabled values explicitly, exempt via '# nocheck: category-modes' on the service key. update, the four drv roles and the three wireguard roles declare their values explicitly; the dict-valued modes meta key is excluded from the category-tree walkers. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
16 lines
232 B
YAML
16 lines
232 B
YAML
---
|
|
non-free:
|
|
modes:
|
|
host:
|
|
enabled: true
|
|
compose:
|
|
enabled: false
|
|
swarm:
|
|
enabled: false
|
|
min_storage: 0GB
|
|
lifecycle: alpha
|
|
cpus: "0.1"
|
|
mem_reservation: "32m"
|
|
mem_limit: "64m"
|
|
pids_limit: 64
|