From c948c65bcdc11217fbc7e033cea810275956fb16 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Wed, 28 Nov 2012 00:36:10 +0100 Subject: [PATCH] Template the name of the task Broken by 1e0295c. Fixes #1698. --- lib/ansible/playbook/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index ec8d944f3c..fe4a3711ce 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -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)