Skip to content

Feature/ansible support#1203

Open
JoshFinlayAU wants to merge 5 commits intortk-ai:developfrom
JoshFinlayAU:feature/ansible-support
Open

Feature/ansible support#1203
JoshFinlayAU wants to merge 5 commits intortk-ai:developfrom
JoshFinlayAU:feature/ansible-support

Conversation

@JoshFinlayAU
Copy link
Copy Markdown

… ansible-lint)

  • ansible-playbook: full Rust module with ANSI stripping, strips ok/skipping lines, preserves changed/failed/unreachable/PLAY/TASK/RECAP (60-line cap)
  • ansible: TOML filter for ad-hoc commands (strip blanks, 40-line cap)
  • ansible-galaxy: TOML filter strips download/progress noise, keeps results
  • ansible-lint: TOML filter strips config warnings, keeps violations/summary
  • discover/rules.rs: add rewrite rules for all four ansible commands
  • scripts/install-global.sh: new script for system-wide install with sudo and overwrite warning for existing binaries (e.g. from brew)

Summary

  • Adds support for ansible, ansible-galaxy, ansible-playbook and ansible-lint

Test plan

  • cargo fmt --all && cargo clippy --all-targets && cargo test
  • Manual testing: rtk <command> output inspected

Important: All PRs must target the develop branch (not master).
See CONTRIBUTING.md for details.

aeppling and others added 4 commits April 6, 2026 12:54
feat(): batch fixs + aws extended + filter quality batch
…master--components--rtk

chore(master): release 0.35.0
… ansible-lint)

- ansible-playbook: full Rust module with ANSI stripping, strips ok/skipping
  lines, preserves changed/failed/unreachable/PLAY/TASK/RECAP (60-line cap)
- ansible: TOML filter for ad-hoc commands (strip blanks, 40-line cap)
- ansible-galaxy: TOML filter strips download/progress noise, keeps results
- ansible-lint: TOML filter strips config warnings, keeps violations/summary
- discover/rules.rs: add rewrite rules for all four ansible commands
- scripts/install-global.sh: new script for system-wide install with sudo
  and overwrite warning for existing binaries (e.g. from brew)
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 10, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ aeppling
✅ JoshFinlayAU
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@pszymkowiak pszymkowiak added effort-large Plusieurs jours, nouveau module enhancement New feature or request labels Apr 10, 2026
@pszymkowiak
Copy link
Copy Markdown
Collaborator

[w] wshm · Automated triage by AI

📊 Automated PR Analysis

Type feature
🟡 Risk medium

Summary

Adds output filtering support for four Ansible CLI tools (ansible-playbook, ansible, ansible-galaxy, ansible-lint) to the rtk proxy. Includes a full Rust module for ansible-playbook with ANSI stripping and line filtering, TOML-based filters for the other three commands, rewrite rules for command discovery, and a new global install script. Also bumps the version from 0.34.3 to 0.35.0.

Review Checklist

  • Tests present
  • Breaking change
  • Docs updated

Analyzed automatically by wshm · This is an automated analysis, not a human review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort-large Plusieurs jours, nouveau module enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants