'Base class method to add extra variables/information to the list of task
vars sent through the executor engine regarding the task queue manager state.'

def add_tqm_variables(self, vars, play):

    vars['ansible_current_hosts'] = [h.name for h in self.get_hosts_remaining(play)]
    vars['ansible_failed_hosts'] = [h.name for h in self.get_failed_hosts(play)]
