mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Make task repr really work for meta tasks.
Signed-off-by: 夏恺(Xia Kai) <xiaket@xiaket@gmail.com>
This commit is contained in:
parent
915037c628
commit
d033c40e80
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class Task(Base, Conditional, Taggable, Become):
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
''' returns a human readable representation of the task '''
|
''' 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']
|
return "TASK: meta (%s)" % self.args['_raw_params']
|
||||||
else:
|
else:
|
||||||
return "TASK: %s" % self.get_name()
|
return "TASK: %s" % self.get_name()
|
||||||
|
|
Loading…
Reference in a new issue