mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 15:45:20 +01:00
Compare commits
No commits in common. "da1713ed3efe2abba118b4d05ac89b81748c945d" and "3a5ba91d922e7cd2d73110265c287bd7781e19fe" have entirely different histories.
da1713ed3e
...
3a5ba91d92
5 changed files with 1 additions and 10 deletions
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
trivial:
|
||||
- fix profile_tasks callback documentation by using correct markup
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
minor_changes:
|
||||
- json and jsonl - Add the ``path`` attribute into the play and task output
|
||||
|
|
@ -67,7 +67,6 @@ class CallbackModule(CallbackBase):
|
|||
'play': {
|
||||
'name': play.get_name(),
|
||||
'id': to_text(play._uuid),
|
||||
'path': to_text(play.get_path()),
|
||||
'duration': {
|
||||
'start': current_time()
|
||||
}
|
||||
|
|
@ -80,7 +79,6 @@ class CallbackModule(CallbackBase):
|
|||
'task': {
|
||||
'name': task.get_name(),
|
||||
'id': to_text(task._uuid),
|
||||
'path': to_text(task.get_path()),
|
||||
'duration': {
|
||||
'start': current_time()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@ class CallbackModule(CallbackBase):
|
|||
'play': {
|
||||
'name': play.get_name(),
|
||||
'id': to_text(play._uuid),
|
||||
'path': to_text(play.get_path()),
|
||||
'duration': {
|
||||
'start': current_time()
|
||||
}
|
||||
|
|
@ -82,7 +81,6 @@ class CallbackModule(CallbackBase):
|
|||
'task': {
|
||||
'name': task.get_name(),
|
||||
'id': to_text(task._uuid),
|
||||
'path': to_text(task.get_path()),
|
||||
'duration': {
|
||||
'start': current_time()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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(<task start timestamp>) C(<length of previous task>) C(<current elapsed playbook execution time>)"
|
||||
- "Format: C(<task start timestamp> (<length of previous task>) <current elapsed playbook execution time>)"
|
||||
- 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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue