From c4be75114b876ff61478a4173a352bacf5ea499d Mon Sep 17 00:00:00 2001 From: Sean Cavanaugh Date: Fri, 15 Jul 2022 14:04:06 -0400 Subject: [PATCH 1/2] Update profile_tasks.py removing contentious terminology to match reference documentation https://docs.ansible.com/ansible/latest/reference_appendices/config.html --- plugins/callback/profile_tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/callback/profile_tasks.py b/plugins/callback/profile_tasks.py index c6118df..b7fc3ac 100644 --- a/plugins/callback/profile_tasks.py +++ b/plugins/callback/profile_tasks.py @@ -21,7 +21,7 @@ DOCUMENTATION = ''' - It also lists the top/bottom time consuming tasks in the summary (configurable) - Before 2.4 only the environment variables were available for configuration. requirements: - - whitelisting in configuration - see examples section below for details. + - enable in configuration - see examples section below for details. options: output_limit: description: Number of tasks to display in the summary @@ -46,7 +46,7 @@ EXAMPLES = ''' example: > To enable, add this to your ansible.cfg file in the defaults block [defaults] - callback_whitelist = ansible.posix.profile_tasks + callbacks_enabled=ansible.posix.profile_tasks sample output: > # # TASK: [ensure messaging security group exists] ******************************** From acd5a2b17e8d27608a45ae5113852b05d3f11379 Mon Sep 17 00:00:00 2001 From: Hideki Saito Date: Mon, 12 Sep 2022 13:47:55 +0900 Subject: [PATCH 2/2] Add changelog fragments to PR #380 Signed-off-by: Hideki Saito --- changelogs/fragments/380_update_usage_profile_tasks.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelogs/fragments/380_update_usage_profile_tasks.yml diff --git a/changelogs/fragments/380_update_usage_profile_tasks.yml b/changelogs/fragments/380_update_usage_profile_tasks.yml new file mode 100644 index 0000000..5b23d40 --- /dev/null +++ b/changelogs/fragments/380_update_usage_profile_tasks.yml @@ -0,0 +1,3 @@ +--- +bugfixes: + - Removed contentious terminology to match reference documentation in profile_tasks.