def get_containers_for_group(inventory, group):
    if 'hosts' in inventory[group]:
        containers = inventory[group]['hosts']
    else:
        containers = None
    return containers
Return containers that belong to a particular group.
dataset/ETHPy150Open openstack/openstack-ansible/scripts/inventory-manage.py/get_containers_for_group