Skip to content

Commit 0cf91bc

Browse files
committed
feat(ansible-cfg): enable profile_roles callback for role-level timing metrics
Add ansible.posix.profile_roles to the enabled callbacks in ansible.cfg to provide role-level timing aggregation in addition to the existing task-level timing from profile_tasks. Signed-off-by: Vito Castellano <[email protected]>
1 parent 0032196 commit 0cf91bc

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

OSPRH-20772-cifmw-record-timing-metrics.md

Whitespace-only changes.

ansible.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ roles_path = ~/ci-framework-data/artifacts/roles:./roles:/usr/share/ansible/role
55
filter_plugins = ./plugins/filter:~/plugins/filter:/usr/share/ansible/plugins/filter
66
log_path = ~/ansible.log
77
# We may consider ansible.builtin.junit
8-
callbacks_enabled = ansible.posix.profile_tasks,ansible.builtin.default
8+
callbacks_enabled = ansible.posix.profile_tasks,ansible.posix.profile_roles,ansible.builtin.default
99
stdout_callback = ansible.builtin.default
1010
callback_format_pretty = yaml
1111
callback_result_format = yaml

0 commit comments

Comments
 (0)