chores: revise Ansible playbooks so it's actually idempotent #6

Merged
SethFalco merged 5 commits from chores into main 2026-10-18 23:46:32 +01:00
Owner

See commit message(s).

See commit message(s).
I encountered an "issue" where the agent asked me to accept a new SSH
host key for them. We needed an unattended way to do this during setup.

While doing it, to keep the onboarding configs pretty, I added some
aliases to populate software forges.
The packages wasn't installed properly because it had interactive prompts.
Now it doesn't!
We had a flaw with our previous playbooks where it Ansible always
reported changes even when run back-to-back.

Then I realized that it's counter-productive to constantly sync
the .claude.json with the VM because it's not bidrectional. As
soon as one environment or the other uses Claude Code, the two files
would have diverged.

So the config is now to "seed" the config into the VM, not to sync it.

If enabled, it'll sync the config if it doesn't exist, but doesn't
update it if it does.
fix(playbooks): stop downloading installers we don't need
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2155dbb5b5
Our Ansible playbooks would download the installers for binaries
we already installed. ^-^'

Adds a check to avoid it. So it's installed the first time, but skipped
on subsequent runs.
SethFalco deleted branch chores 2026-10-18 23:46:32 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ai/agent-devenv!6
No description provided.