Template the name of the task

Broken by 1e0295c7. Fixes #1698.
parent 24dadb3c
......@@ -282,7 +282,7 @@ class PlayBook(object):
def _run_task(self, play, task, is_handler):
''' run a single task in the playbook and recursively run any subtasks. '''
self.callbacks.on_task_start(task.name, is_handler)
self.callbacks.on_task_start(utils.template(play.basedir, task.name, task.module_vars), is_handler)
# load up an appropriate ansible runner to run the task in parallel
results = self._run_task_internal(task)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment