Some checks failed
PR Checklist / pr-checklist (pull_request) Failing after 1m27s
Implements the Ansible Infrastructure as Code story from KT 2026-04-08. One canonical Ansible playbook defines: - Deadman switch (snapshot good config on health, rollback+restart on death) - Golden state config deployment (Anthropic BANNED, Kimi→Gemini→Ollama) - Cron schedule (source-controlled, no manual crontab edits) - Agent startup sequence (pull→validate→start→verify) - request_log telemetry table (every inference call logged) - Thin config pattern (immutable local pointer to upstream) - Gitea webhook handler (deploy on merge) - Config validator (rejects banned providers) Fleet inventory: Timmy (Mac), Allegro (VPS), Bezalel (VPS), Ezra (VPS) Roles: wizard_base, golden_state, deadman_switch, request_log, cron_manager Addresses: timmy-config #442, #443, #444, #445, #446 References: KT Final 2026-04-08 P2, KT Bezalel 2026-04-08 #1-#5
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
---
|
|
# =============================================================================
|
|
# golden_state.yml — Deploy Golden State Config to All Wizards
|
|
# =============================================================================
|
|
# Enforces the golden state provider chain across the fleet.
|
|
# Removes any Anthropic references. Deploys the approved provider chain.
|
|
# =============================================================================
|
|
|
|
- name: "Deploy Golden State Configuration"
|
|
hosts: wizards
|
|
become: true
|
|
|
|
roles:
|
|
- role: golden_state
|
|
tags: [golden, config]
|
|
|
|
post_tasks:
|
|
- name: "Verify golden state — no banned providers"
|
|
shell: |
|
|
grep -rci 'anthropic\|claude-sonnet\|claude-opus\|claude-haiku' \
|
|
{{ hermes_home }}/config.yaml \
|
|
{{ wizard_home }}/config.yaml 2>/dev/null || echo "0"
|
|
register: banned_count
|
|
changed_when: false
|
|
|
|
- name: "Report golden state status"
|
|
debug:
|
|
msg: >
|
|
{{ wizard_name }} golden state: {{ golden_state_providers | map(attribute='name') | list | join(' → ') }}.
|
|
Banned provider references: {{ banned_count.stdout | trim }}.
|