Prefer name of include_role. Fixes #43332
This commit is contained in:
parent
d5bec06150
commit
dc908f4cb5
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class IncludeRole(TaskInclude):
|
|||
|
||||
def get_name(self):
|
||||
''' return the name of the task '''
|
||||
return "%s : %s" % (self.action, self._role_name)
|
||||
return self.name or "%s : %s" % (self.action, self._role_name)
|
||||
|
||||
def get_block_list(self, play=None, variable_manager=None, loader=None):
|
||||
|
||||
|
|
Loading…
Reference in a new issue