code: def targets(tgt, tgt_type='glob', **kwargs):
      '''
      Return the targets from the flat yaml file, checks opts for location but
      defaults to /etc/salt/roster
      '''
      ssh_config_file = _get_ssh_config_file(__opts__)
      with salt.utils.files.fopen(ssh_config_file, 'r') as fp:
          all_minions = parse_ssh_config([line.rstrip() for line in fp])
      rmatcher = RosterMatcher(all_minions, tgt, tgt_type)
      matched = rmatcher.targets()
      return matchef targets(tgt, tgt_type='glob', **kwargs):
      '''
      Return the targets from the flat yaml file, checks opts for location but
      defaults to /etc/salt/roster
      '''
      ssh_config_file = _get_ssh_config_file(__opts__)
      with salt.utils.files.fopen(ssh_config_file, 'r') as fp:
          all_minions = parse_ssh_config([line.rstrip() for line in fp])
      rmatcher = RosterMatcher(all_minions, tgt, tgt_type)
      matched = rmatcher.targets()
      return matched
docs: Return the targets from the flat yaml file, checks opts for location but
      defaults to /etc/salt/roster