Migrate Ansible op calls to op read URI syntax #125

Merged
eblume merged 1 commit from op-read-migration into main 2026-02-08 10:52:44 -08:00
Owner

Summary

  • Convert all 12 op item get ... --fields ... --reveal calls in Ansible to the newer op read "op://vault/item/field" syntax
  • Remove the regex_replace workaround on the Fly deploy token (no longer needed since op read returns clean unquoted values)
  • Covers ansible/playbooks/indri.yml, ansible/roles/caddy/tasks/main.yml, ansible/roles/jellyfin_metrics/tasks/main.yml, and ansible/roles/alloy/tasks/main.yml

Test plan

  • mise run provision-indri -- --check --diff dry run passes (ok=67, failed=0)
  • No op item get calls remain in ansible/ directory
  • All pre-commit hooks pass (yaml, ansible-lint, TruffleHog, etc.)
  • Full provision run after merge to confirm secrets resolve correctly

🤖 Generated with Claude Code

## Summary - Convert all 12 `op item get ... --fields ... --reveal` calls in Ansible to the newer `op read "op://vault/item/field"` syntax - Remove the `regex_replace` workaround on the Fly deploy token (no longer needed since `op read` returns clean unquoted values) - Covers `ansible/playbooks/indri.yml`, `ansible/roles/caddy/tasks/main.yml`, `ansible/roles/jellyfin_metrics/tasks/main.yml`, and `ansible/roles/alloy/tasks/main.yml` ## Test plan - [x] `mise run provision-indri -- --check --diff` dry run passes (ok=67, failed=0) - [x] No `op item get` calls remain in `ansible/` directory - [x] All pre-commit hooks pass (yaml, ansible-lint, TruffleHog, etc.) - [ ] Full provision run after merge to confirm secrets resolve correctly 🤖 Generated with [Claude Code](https://claude.com/claude-code)
`op read` returns clean values without quoting issues, removing the
need for the regex_replace workaround on the Fly deploy token.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
eblume merged commit 7f41621c7f into main 2026-02-08 10:52:44 -08: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
eblume/blumeops!125
No description provided.