(self, group_name, group_vars)
return group
Similar to _get_or_create_host, but for groups.
Similar to _get_or_create_host, but for groups.
Similar to _get_or_create_host but for groups .
def _get_or_create_group(self, group_name, group_vars):
        """
        Similar to _get_or_create_host, but for groups.
        """
        group = None 
        if group_name in self._groups:
            group = self._groups[group_name]
            group.update_variables(group_vars)
        else:
            group = Group(group_name, variables=group_vars)
            self._groups[group_name] = group
        return group
def _get_or_create_group ( self , group_name , group_vars ) : group = None if group_name in self . _groups : group = self . _groups [ group_name ] group . update_variables ( group_vars ) else : group = Group ( group_name , variables = group_vars ) self . _groups [ group_name ] = group return group