Add Ansible Idempotency Check skill
loading diff…
git status, supports nested roles/ directoriesI maintain an Ansible-based macOS provisioner (macbook-provision). Every time I modify a role, I need to verify it's idempotent — re-running should produce zero changes. This skill automates that workflow: detect which roles changed, run each twice, and flag any non-idempotent tasks. It catches common issues like missing creates guards on shell commands or state: latest causing unnecessary changes.
Anyone maintaining Ansible playbooks who wants to ensure roles are idempotent before committing changes.
User: "Test the docker role for idempotency"
Role: docker
First run: SUCCESS (0 failures)
Second run: IDEMPOTENT (0 changed tasks)
git status changes to roles/ directories