Files
oh-my-pi/crates/pi-shell/src/minimizer/defs/ansible.toml
T
can1357 41710a0a5f feat(cross-cutting): added pi-ast/pi-shell crates and rewired pi-natives
- Added `pi-ast` as a new crate with public `language`, `ops`, and `summary` modules and exported `SupportLang`.
- Added AST summary and rewrite APIs in `pi-ast`, including language inference, overlap-safe edits, and span normalization.
- Added `pi-shell` crate with new `Shell` and cross-platform `Process` APIs, session execution, and cancellation-aware runs.
- Updated `pi-natives` to use shared `pi_ast`/`pi_shell` APIs, switched to local path deps, and moved minimizer assets to `pi-shell`.
2026-05-11 03:43:58 +02:00

26 lines
726 B
TOML

[filters.ansible]
description = "ansible / ansible-playbook run"
match_command = "^(ansible|ansible-playbook|ansible-galaxy)$"
strip_ansi = true
strip_lines_matching = [
"^\\s*$",
"^PLAY RECAP \\*+\\s*$",
"^TASK \\[Gathering Facts\\]",
"^TASK \\[setup\\]",
"^ok: \\[",
"^skipping: \\[",
"^\\[WARNING\\]: Consider using the",
]
truncate_lines_at = 300
max_lines = 80
[[tests.ansible]]
name = "keeps failed tasks"
input = "ok: [host1]\nok: [host2]\nfatal: [host1]: FAILED! => changed=false\nTASK [apt] ********"
expected = "fatal: [host1]: FAILED! => changed=false\nTASK [apt] ********\n"
[[tests.ansible]]
name = "all ok gets stripped but kept via tail"
input = "ok: [host1]\nok: [host2]\nok: [host3]\n"
expected = ""