Retire setup.sh: port host config to ansible roles + linux host #271

Closed
opened 2026-06-08 01:15:04 +00:00 by coilysiren · 0 comments
Owner

Retire setup.sh fleet-wide; ansible becomes the single host-config mechanism.

This repo's slice: port every setup.sh responsibility into ansible roles and
add a linux host group.

New/extended roles under ansible/roles/:

  • shell: ~/.zshrc + ~/.bashrc symlinks, gpg-ssm, ~/.local/bin PATH helpers, hammerspoon (mac)
  • claude-context: fresh-host ~/.claude/CLAUDE.md import branching (defers to agent-compose)
  • skills: empty ~/.claude/skills, self-mount, repo-pointer aggregation, capability pull, fanout prune
  • dev-toolchain: pre-commit install, forgejo SSM credential helper, mcporter + claude-settings merges
  • cleanup: stale grandparent CLAUDE.md + parent-dir shims

Inventory: add linux group (kai-server + control host), broaden freshen.yml to hosts: all.
Phase 2: add bootstrap.sh (tiny: uv + clone + uv sync + run playbook).

Verify: coily ansible-freshen action=check (clean diff) then apply, idempotent on re-run.
Plan: agentic-os-kai migration, locked decisions = tiny bootstrap.sh, drop commit hook, phased.

Retire setup.sh fleet-wide; ansible becomes the single host-config mechanism. This repo's slice: port every setup.sh responsibility into ansible roles and add a linux host group. New/extended roles under ansible/roles/: - shell: ~/.zshrc + ~/.bashrc symlinks, gpg-ssm, ~/.local/bin PATH helpers, hammerspoon (mac) - claude-context: fresh-host ~/.claude/CLAUDE.md import branching (defers to agent-compose) - skills: empty ~/.claude/skills, self-mount, repo-pointer aggregation, capability pull, fanout prune - dev-toolchain: pre-commit install, forgejo SSM credential helper, mcporter + claude-settings merges - cleanup: stale grandparent CLAUDE.md + parent-dir shims Inventory: add `linux` group (kai-server + control host), broaden freshen.yml to hosts: all. Phase 2: add bootstrap.sh (tiny: uv + clone + uv sync + run playbook). Verify: coily ansible-freshen action=check (clean diff) then apply, idempotent on re-run. Plan: agentic-os-kai migration, locked decisions = tiny bootstrap.sh, drop commit hook, phased.
Sign in to join this conversation.
No description provided.