Remove args from get_name() as we can't tell if any of the args are no_log

pull/13613/head
Toshio Kuratomi 9 years ago
parent 8ffc1fa838
commit 224d596336

@ -107,11 +107,10 @@ class Task(Base, Conditional, Taggable, Become):
elif self.name: elif self.name:
return self.name return self.name
else: else:
flattened_args = self._merge_kv(self.args)
if self._role: if self._role:
return "%s : %s %s" % (self._role.get_name(), self.action, flattened_args) return "%s : %s" % (self._role.get_name(), self.action)
else: else:
return "%s %s" % (self.action, flattened_args) return "%s" % (self.action,)
def _merge_kv(self, ds): def _merge_kv(self, ds):
if ds is None: if ds is None:

Loading…
Cancel
Save