From 009ed3bed53c1e3d0a675d70b3e7fbdbbf71abb1 Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Fri, 24 Mar 2023 11:46:44 +0100 Subject: [PATCH 1/2] docs: fix profile_tasks callback documentation Fixes: #412 Signed-off-by: Daniel Ziegenberg --- plugins/callback/profile_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/callback/profile_tasks.py b/plugins/callback/profile_tasks.py index b7fc3ac..944b222 100644 --- a/plugins/callback/profile_tasks.py +++ b/plugins/callback/profile_tasks.py @@ -17,7 +17,7 @@ DOCUMENTATION = ''' - Ansible callback plugin for timing individual tasks and overall execution time. - "Mashup of 2 excellent original works: https://github.com/jlafon/ansible-profile, https://github.com/junaid18183/ansible_home/blob/master/ansible_plugins/callback_plugins/timestamp.py.old" - - "Format: C( () )" + - "Format: C() C() C()" - 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: From 7d069b597fdecc922dc69cc077f1568455abd3d4 Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Mon, 10 Apr 2023 15:13:22 +0200 Subject: [PATCH 2/2] add changelog fragment Signed-off-by: Daniel Ziegenberg --- .../fragments/343-fix-profile_tasks-callback-documentation.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelogs/fragments/343-fix-profile_tasks-callback-documentation.yml diff --git a/changelogs/fragments/343-fix-profile_tasks-callback-documentation.yml b/changelogs/fragments/343-fix-profile_tasks-callback-documentation.yml new file mode 100644 index 0000000..06d1c8d --- /dev/null +++ b/changelogs/fragments/343-fix-profile_tasks-callback-documentation.yml @@ -0,0 +1,3 @@ +--- +trivial: + - fix profile_tasks callback documentation by using correct markup