code: def _parse_limit(self, limit):
          
          if limit is None:
              return None
  
          limit_parsed = {
              "include": [],
              "exclude": []
          }
          elems = limit.split(":")
          for elem in elems:
              if elem.startswith('!'):
                  limit_parsed['exclude'].append(elem[1:])
              else:
                  limit_parsed['include'].append(elem)
  
          return limit_parsed
docs: Parse a host / group limit in the form of a string (e.g.
          'all:!cust.acme') into a dict of things to be included and things to be
          excluded.