'Search for group id by group description.
Returns:
the group id, or send a module Fail signal if group not found.'

def group_id(self, description):

    group = self.manageiq.find_collection_resource_by('groups', description=description)
    if (not group):
        self.module.fail_json(msg=('group    %s    does    not    exist    in    manageiq' % description))
    return group['id']
