'Function to strip whitespace from group list.
This function provides the user some flexibility when
formatting group arguments'

def _strip_groups(self, groups):

    self.module.debug('Running    Host._strip_groups...')
    return map((lambda x: x.strip()), groups)
