Commit graph

6 commits

Author SHA1 Message Date
Virgil
5609471945 Add replace module support
Some checks are pending
CI / test (push) Waiting to run
CI / auto-fix (push) Waiting to run
CI / auto-merge (push) Waiting to run
2026-04-03 13:31:06 +00:00
Virgil
772a9c393e chore(ansible): align agent-facing module counts 2026-04-02 13:46:49 +00:00
Virgil
2739e52d52 feat(ansible): add add_host inventory module 2026-04-01 19:09:11 +00:00
Snider
d2f786ce61 fix(dx): audit CLAUDE.md, fix cmd errors, add tests
- CLAUDE.md: fix module count (174→41+3), KnownModules count (68→80),
  update error handling convention to reflect coreerr.E() migration
- cmd/ansible: replace fmt.Errorf with coreerr.E(), os.Stat with
  coreio.Local.Exists()/IsDir(), os.Getwd with filepath.Abs()
- Add 38 tests for untested critical paths: non-SSH module handlers
  (debug, fail, assert, set_fact, include_vars, meta), handleLookup,
  SetInventory, iterator functions, resolveExpr with registered vars/
  facts/task vars/host vars/filters

Coverage: 23.4% → 27.7%

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 08:26:07 +00:00
Snider
46ff6b7bc7 docs: add CLAUDE.md project instructions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 13:38:01 +00:00
Snider
4fe5484e1f feat: extract ansible package from go-devops
Pure Go Ansible playbook engine: YAML parser, SSH executor, 30+ module
implementations, Jinja2-compatible templating, privilege escalation,
event-driven callbacks, and inventory pattern matching.

438 tests passing with race detector.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 11:37:27 +00:00