def container_factinfo(container_name, facts):
    """
    Get dictionary of configlet info from CVP.

    Parameters
    ----------
    configlet_name : string
        Name of the container to look for on CVP side.
    module : AnsibleModule
        Ansible module to get access to cvp client.

    Returns
    -------
    dict: Dict of configlet info from CVP or exit with failure if no info for
            container is found.
    """
    for container in facts['containers']:
        if container['name'] == container_name:
            return container
    return None