profile_tasks: Fix last task time with multiple plays (#53065)

This commit is contained in:
Martin Krizek 2019-03-01 16:29:33 +01:00 committed by Sam Doran
parent 832a669104
commit 66eb301cd3
2 changed files with 3 additions and 0 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- profile_tasks callback - Fix the last task time when running multiple plays (https://github.com/ansible/ansible/issues/52760)

View file

@ -171,6 +171,7 @@ class CallbackModule(CallbackBase):
self._display.display(filled("", fchar="="))
timestamp(self)
self.current = None
results = self.stats.items()