code: def restrict_to(self, restriction):
          
          if type(restriction) != list:
              restriction = [ restriction ]
          self._restriction = restriction
docs: Restrict list operations to the hosts given in restriction.  This is used
          to exclude failed hosts in main playbook code, don't use this for other
          reasons.