/infra-orchestration:sync-inventoryfrom infra-orchestration
Verify or refresh the OpenTofu-to-Ansible inventory distribution (RustFS-published; apply is the publish boundary)
Ships in infra-orchestration. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The inventory pipeline is automatic: every successful tofu-proxmox
Terrakube apply validates ansible_inventory in the OpenTofu graph and
publishes it to the homelab RustFS object store with aws_s3_object. There is
no post-apply hook or manual mirror step.
Consumers (ansible-proxmox, ansible-proxmox-apps, ansible-splunk) resolve
identically via their load_tofu.yml:
TOFU_INVENTORY_PATH — explicit pin (tests/overrides)amazon.aws fetch over the homelab network;
scoped credentials come from OpenBao, with no IaC checkout or toolchainThere is no manual export/transform/copy flow. Never run
tofu output -json ansible_inventory > <consumer>/inventory/... by hand —
hand-injected inventories bypass the schema gate and create unmanaged drift.
aws s3api head-object \
--endpoint-url "$RUSTFS_ENDPOINT" \
--bucket "$TOFU_INVENTORY_BUCKET" \
--key "$TOFU_INVENTORY_KEY" \
--query LastModified
If it predates the last intended infrastructure change, the publish boundary
was not crossed — run a real apply (next step). Reference docs:
tofu-proxmox/docs/INVENTORY_PUBLISHING.md.
The only way to republish is the publish boundary itself:
cd ~/ghq/github.com/dryvist/tofu-proxmox/main
tofu apply
The command submits a remote Terrakube run. The workspace lock serializes changes, Terrakube obtains its OpenBao credentials natively, and the apply updates the RustFS object only when content changed.
In any consumer repo (no creds needed if the cache exists):
ansible-playbook <load_tofu path> -i inventory/hosts.yml -c local
playbooks/load_tofu.ymlinventory/load_tofu.ymlWatch which resolution step wins ("Resolve inventory from …" task output).
TOFU_INVENTORY_PATH to a known-good
copy, or run the apply.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
npx claudepluginhub jacobpevans-ai/claude-code-plugins --plugin infra-orchestration