From d033c40e8088ee44d29b2ddf3ca228a536147b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=81=BA=28Xia=20Kai=29?= Date: Tue, 1 Mar 2016 06:03:22 +0000 Subject: [PATCH] =?UTF-8?q?Make=20task=20repr=20really=20work=20for=20meta?= =?UTF-8?q?=20tasks.=20Signed-off-by:=20=E5=A4=8F=E6=81=BA(Xia=20Kai)=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ansible/playbook/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/task.py b/lib/ansible/playbook/task.py index 4328602f593..56f3a15bf8e 100644 --- a/lib/ansible/playbook/task.py +++ b/lib/ansible/playbook/task.py @@ -133,7 +133,7 @@ class Task(Base, Conditional, Taggable, Become): def __repr__(self): ''' returns a human readable representation of the task ''' - if self.get_name() == 'meta ': + if self.get_name() == 'meta': return "TASK: meta (%s)" % self.args['_raw_params'] else: return "TASK: %s" % self.get_name()