41710a0a5f
- 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`.
26 lines
726 B
TOML
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 = ""
|