show task path on vv or above

pull/14899/head
Brian Coca 9 years ago
parent 307c1a5cb1
commit 67fd16c0da

@ -114,7 +114,7 @@ class CallbackModule(CallbackBase):
def v2_playbook_on_task_start(self, task, is_conditional): def v2_playbook_on_task_start(self, task, is_conditional):
self._display.banner("TASK [%s]" % task.get_name().strip()) self._display.banner("TASK [%s]" % task.get_name().strip())
if self._display.verbosity > 2: if self._display.verbosity >= 2:
path = task.get_path() path = task.get_path()
if path: if path:
self._display.display("task path: %s" % path, color='dark gray') self._display.display("task path: %s" % path, color='dark gray')

Loading…
Cancel
Save