Commit graph

42 commits

Author SHA1 Message Date
Virgil
80fb75baab feat(ansible): honour task check mode overrides
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:38:19 +00:00
Virgil
031e41be19 Add play module defaults 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:08:52 +00:00
Virgil
4ccb8fc93b feat(ansible): support delegated 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
2026-04-03 12:54:45 +00:00
Virgil
71a50b0d2b Add inventory and role magic vars
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:33:43 +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
251206748a Add automatic playbook_dir 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 12:02:21 +00:00
Virgil
4b3cfbef8d Support mixed legacy action syntax
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:57:28 +00:00
Virgil
c52d539d3c feat(parser): support FQCN action directives
Some checks are pending
CI / auto-merge (push) Waiting to run
CI / test (push) Waiting to run
CI / auto-fix (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 10:59:46 +00:00
Virgil
1d90b93f5b Fix legacy loop unmarshalling
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:31:25 +00:00
Virgil
dd9ccc777c fix(ansible): accept FQCN include directives
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 10:04:06 +00:00
Virgil
6f5d1659cd fix(ansible): support include_tasks apply defaults
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 09:52:23 +00:00
Virgil
9db3c62054 feat(ansible): template import_playbook paths
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 14:50:41 +00:00
Virgil
cb1ffa8b64 feat(ansible): expose inventory become password
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 14:31:01 +00:00
Virgil
563eebf40e Add CLI coverage and UK English cleanup 2026-04-02 14:17:29 +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
d1682f6345 feat(ansible): accept inventory directories
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 03:15:52 +00:00
Virgil
2c0b68627d Load role vars in ParseRole 2026-04-02 03:12:11 +00:00
Virgil
6ef54d3e56 feat(ansible): support action shorthand key-value args
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 03:00:58 +00:00
Virgil
f4d8ae1851 Load role handlers in Ansible roles 2026-04-02 02:25:28 +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
4e0a5f714c feat(ansible): add with_subelements loop support 2026-04-02 00:32:37 +00:00
Virgil
5bb3a2f636 feat(ansible): support with_together legacy loops
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 23:38:25 +00:00
Virgil
0e3a362269 feat(ansible): support legacy action shorthands 2026-04-01 23:31:40 +00:00
Virgil
05df5b5bb8 feat(ansible): support with_nested loops
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 23:18:46 +00:00
Virgil
2e54726977 Support custom role defaults and vars files 2026-04-01 23:15:08 +00:00
Virgil
41d74b0ac6 Support with_sequence task loops 2026-04-01 22:44:12 +00:00
Virgil
3c51fd40ad Add handler listen alias support 2026-04-01 22:29:44 +00:00
Virgil
a43a447f55 feat(ansible): add with_fileglob loop support
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 22:27:17 +00:00
Virgil
92634bf561 feat(ansible): support indexed loop items
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 22:18:31 +00:00
Virgil
5951f74f27 Resolve include task paths relative to playbooks 2026-04-01 21:46:52 +00:00
Virgil
6805aeb410 fix(ansible): apply role defaults and vars during execution
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 21:40:18 +00:00
Virgil
097aeec0d2 Add with_file loop support 2026-04-01 21:07:04 +00:00
Virgil
df8a400553 Add host pattern resolution 2026-04-01 21:02:51 +00:00
Virgil
66af49ec7f Support short-form community modules 2026-04-01 21:00:32 +00:00
Virgil
f80825783c fix(ansible): support import_playbook expansion 2026-04-01 20:54:36 +00:00
Virgil
f1a52e777e Normalize with_dict legacy loops 2026-04-01 20:08:34 +00:00
Virgil
2739e52d52 feat(ansible): add add_host inventory module 2026-04-01 19:09:11 +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
2d51fb4d0e refactor: replace os.* and fmt.Errorf with go-io/go-log conventions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 19:50:03 +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