def ansible_group_init(ansible_inv, group_name):
 ansible_inv[group_name] = {}
 ansible_inv[group_name]['hosts'] = []
 ansible_inv[group_name]['vars'] = {}

def ansible_group_init ( ansible_inv , group_name ) : ansible_inv [ group_name ] = { } ansible_inv [ group_name ] [ 'hosts' ] = [ ] ansible_inv [ group_name ] [ 'vars' ] = { }
initialize a new ansible inventory group .