mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-11-24 18:03:41 +00:00
Use display.columns and get_text_width() for TASKS RECAP headers, timestamps, and timing rows so output matches display.banner() width. Add truncate_task_names (default false, version_added 2.3.0) with display-width-aware truncation and padding for multibyte task names. Add unit tests for ASCII and CJK recap rows, including the reproducer from #773. Co-authored-by: Tom Paine <github@aioue.net>
This commit is contained in:
co-authored by
Tom Paine
parent
61dba1eb25
commit
7a70c0607c
@@ -0,0 +1,5 @@
|
||||
---
|
||||
bugfixes:
|
||||
- profile_tasks callback - align TASKS RECAP output with ``display.banner()`` width instead of a hardcoded 79 columns (https://github.com/ansible-collections/ansible.posix/pull/773).
|
||||
minor_changes:
|
||||
- profile_tasks callback - add ``truncate_task_names`` option (default ``false``) to ellipsize long task names in the TASKS RECAP summary (https://github.com/ansible-collections/ansible.posix/pull/773).
|
||||
Reference in New Issue
Block a user