Template the name of the task

Broken by 1e0295c. Fixes #1698.
pull/1703/merge
Daniel Hokka Zakrisson 12 years ago
parent 24dadb3c27
commit c948c65bcd

@ -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)

Loading…
Cancel
Save