def extract_default_resouces(args):
    """Helper function to extracts default resources from config file
    Args:
    args (object): Arguments object
    Returns:
    dict: Default section from config or None

    """
    res = list(filter(lambda x: x.get('default'), args.hosts_config))
    if res:
        return res[0]['default']['resources']
    return None
