|
|
@ -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
|
|
|
|