diff --git a/lib/ansible/playbook/role_include.py b/lib/ansible/playbook/role_include.py index 9e09186bdb..3786d09b59 100644 --- a/lib/ansible/playbook/role_include.py +++ b/lib/ansible/playbook/role_include.py @@ -64,6 +64,10 @@ class IncludeRole(TaskInclude): self._role_name = None self._role_path = None + def get_name(self): + ''' return the name of the task ''' + return "%s : %s" % (self.action, self._role_name) + def get_block_list(self, play=None, variable_manager=None, loader=None): # only need play passed in when dynamic