mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
show task path on vv and above
This commit is contained in:
parent
6d7f81823f
commit
e35b1cf154
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class CallbackModule(CallbackBase):
|
|||
args = ', '.join(('%s=%s' % a for a in task.args.items()))
|
||||
args = ' %s' % args
|
||||
self._display.banner("TASK [%s%s]" % (task.get_name().strip(), args))
|
||||
if self._display.verbosity > 2:
|
||||
if self._display.verbosity >= 2:
|
||||
path = task.get_path()
|
||||
if path:
|
||||
self._display.display("task path: %s" % path, color=C.COLOR_DEBUG)
|
||||
|
|
Loading…
Reference in a new issue