mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 04:11:25 -07:00
Update profile_tasks docs (#46690)
Added configuration settings to enable profile_tasks via ansible.cfg Fixes: #44555 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
b177aff41b
commit
a47b055ac7
1 changed files with 7 additions and 2 deletions
|
@ -22,7 +22,7 @@ DOCUMENTATION = '''
|
||||||
- It also lists the top/bottom time consuming tasks in the summary (configurable)
|
- It also lists the top/bottom time consuming tasks in the summary (configurable)
|
||||||
- Before 2.4 only the environment variables were available for configuration.
|
- Before 2.4 only the environment variables were available for configuration.
|
||||||
requirements:
|
requirements:
|
||||||
- whitelisting in configuration
|
- whitelisting in configuration - see examples section below for details.
|
||||||
options:
|
options:
|
||||||
output_limit:
|
output_limit:
|
||||||
description: Number of tasks to display in the summary
|
description: Number of tasks to display in the summary
|
||||||
|
@ -44,6 +44,11 @@ DOCUMENTATION = '''
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
example: >
|
||||||
|
To enable, add this to your ansible.cfg file in the defaults block
|
||||||
|
[defaults]
|
||||||
|
callback_whitelist = profile_tasks
|
||||||
|
sample output: >
|
||||||
#
|
#
|
||||||
# TASK: [ensure messaging security group exists] ********************************
|
# TASK: [ensure messaging security group exists] ********************************
|
||||||
# Thursday 11 June 2017 22:50:53 +0100 (0:00:00.721) 0:00:05.322 *********
|
# Thursday 11 June 2017 22:50:53 +0100 (0:00:00.721) 0:00:05.322 *********
|
||||||
|
@ -52,7 +57,7 @@ EXAMPLES = '''
|
||||||
# TASK: [ensure db security group exists] ***************************************
|
# TASK: [ensure db security group exists] ***************************************
|
||||||
# Thursday 11 June 2017 22:50:54 +0100 (0:00:00.558) 0:00:05.880 *********
|
# Thursday 11 June 2017 22:50:54 +0100 (0:00:00.558) 0:00:05.880 *********
|
||||||
# changed: [localhost]
|
# changed: [localhost]
|
||||||
# '
|
#
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import collections
|
import collections
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue