Commit graph

21 commits

Author SHA1 Message Date
Virgil
65cd1b9e01 refactor(ansible): clarify CLI helper naming
Some checks are pending
CI / test (push) Waiting to run
CI / auto-fix (push) Waiting to run
CI / auto-merge (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 13:18:36 +00:00
Virgil
e95c35c097 refactor(ansible): align AX naming examples
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 12:12:40 +00:00
Virgil
c70f02cb09 fix(ansible): merge repeated list flags
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 11:52:36 +00:00
Virgil
610294db6b feat(ansible): type extra vars scalars
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 11:44:56 +00:00
Virgil
324411bb95 fix(ansible): include diff path in CLI output
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 11:30:48 +00:00
Virgil
e5b891e7d7 fix(ansible): trim comma-separated CLI inputs
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 11:28:08 +00:00
Virgil
4d1e46b933 Refine ansible CLI option handling
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 11:24:10 +00:00
Virgil
8ebfafd6cc refactor(ansible): rename cli helpers for clarity
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 11:11:17 +00:00
Virgil
563eebf40e Add CLI coverage and UK English cleanup 2026-04-02 14:17:29 +00:00
Virgil
bde3c18e19 feat(ansible): expand extra-vars parsing 2026-04-02 13:21:01 +00:00
Virgil
e4e72bc52a Support stacked ansible verbosity flags 2026-04-02 02:39:22 +00:00
Virgil
f9d8b3bc51 test(ansible): add CLI registration coverage
Co-authored-by: Virgil <virgil@lethean.io>
2026-04-02 02:12:48 +00:00
Virgil
9f86b5cb95 feat(ansible): add short flag aliases 2026-04-02 00:27:36 +00:00
Virgil
efa2ac3ea1 Add ansible test key alias 2026-04-01 23:24:17 +00:00
Virgil
3596845838 Support repeated ansible extra-vars 2026-04-01 21:12:05 +00:00
Virgil
bfbbd31f09 Add diff-aware file module output 2026-04-01 20:22:39 +00:00
Virgil
f127ac2fcb chore: polish ax v0.8.0 compliance
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 16:39:59 +00:00
Virgil
4f33c15d6c refactor(ansible): upgrade core to v0.8.0-alpha.1
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 14:47:37 +00:00
Snider
b3eed66230 refactor(ansible): migrate module path to dappco.re/go/core/ansible
Some checks failed
CI / test (pull_request) Failing after 2s
CI / auto-fix (pull_request) Failing after 0s
CI / auto-merge (pull_request) Failing after 0s
Update go.mod module line and all dependencies from forge.lthn.ai to
dappco.re paths (core v0.5.0, log v0.1.0, io v0.2.0). Update all .go
import paths. Rewrite cmd/ansible/ for new core.Command API replacing
the cobra-based CLI integration. Update documentation references.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 01:50:56 +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
818f9f311a feat: add cmd/ansible from go-devops
Ansible CLI commands now live alongside the ansible library.
Package anscmd to avoid collision with root ansible package.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 12:28:25 +00:00