Commit graph

36 commits

Author SHA1 Message Date
Virgil
5420321e22 fix(ansible): expose set_fact values via ansible_facts
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 12:29:11 +00:00
Virgil
1e99665f6e Tighten structured module results
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:24:19 +00:00
Virgil
2b32f453db Fix block inheritance in executor
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:14:37 +00:00
Virgil
103b5ed255 fix(ansible): propagate rescue block failures
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 11:07:17 +00:00
Virgil
70ec0dbba4 feat(ansible): make add_host idempotent
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 10:43:56 +00:00
Virgil
e14659dcb0 feat(ansible): render include task vars and inherit tags
Co-authored-by: Virgil <virgil@lethean.io>
2026-04-02 14:06:22 +00:00
Virgil
0560bccb8b feat(ansible): normalize ansible.legacy modules
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:57:01 +00:00
Virgil
7f5c5d05e3 Scope set_fact to hosts 2026-04-02 13:53:06 +00:00
Virgil
bced0d3cdc feat(ansible): honour include task conditions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:38:45 +00:00
Virgil
ff2a8e7731 Support serial list batching 2026-04-02 03:32:40 +00:00
Virgil
ab9d9725be feat(ansible): honour include_role tags and when
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 03:28:45 +00:00
Virgil
d1682f6345 feat(ansible): accept inventory directories
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 03:15:52 +00:00
Virgil
290e9b47b1 feat(ansible): apply role when defaults to tasks
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 03:04:35 +00:00
Virgil
c5712c696d Support role shorthand in include/import tasks 2026-04-02 02:57:51 +00:00
Virgil
a95b6ec5d8 feat(ansible): support custom role handlers files 2026-04-02 02:43:15 +00:00
Virgil
fbfc2a6c7e feat(ansible): add builtin ping module
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 02:29:36 +00:00
Virgil
e6be1e5f5a feat(ansible): support vars lookup
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 02:01:49 +00:00
Virgil
f5c4f16d42 feat(ansible): add b64encode filter support
Co-authored-by: Virgil <virgil@lethean.io>
2026-04-02 01:54:40 +00:00
Virgil
7f7cc55479 feat(ansible): support public role vars
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 01:29:42 +00:00
Virgil
4823bd68f1 Resolve file lookups against base path 2026-04-02 00:19:59 +00:00
Virgil
807751ebe7 feat(ansible): support include_role apply defaults
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 00:17:04 +00:00
Virgil
2e54726977 Support custom role defaults and vars files 2026-04-01 23:15:08 +00:00
Virgil
3a4118ada8 Fix include task variable inheritance 2026-04-01 22:00:12 +00:00
Virgil
c77a32f24f Templated include task paths per host 2026-04-01 21:57:05 +00:00
Virgil
5951f74f27 Resolve include task paths relative to playbooks 2026-04-01 21:46:52 +00:00
Virgil
23047aaa6f Handle meta end_batch actions 2026-04-01 21:25:32 +00:00
Virgil
eb03970129 feat(ansible): support meta end_host
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 20:38:08 +00:00
Virgil
5b66334d44 Implement Jinja b64decode filter 2026-04-01 20:14:40 +00:00
Virgil
02cb9273c5 feat(ansible): reset cached ssh connections
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 20:10:56 +00:00
Virgil
6cc987ea74 Implement meta clear_facts handling 2026-04-01 20:03:11 +00:00
Virgil
d9d16e8092 Implement meta flush handlers support 2026-04-01 19:51:23 +00:00
Virgil
a973604e95 feat(ansible): add group_by module
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 19:21:57 +00:00
Virgil
2739e52d52 feat(ansible): add add_host inventory module 2026-04-01 19:09:11 +00:00
Virgil
34229558fb fix(ansible): implement include_vars loading 2026-04-01 19:05:24 +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
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