# xenial/centos7
export OS_VERSION=${OS_VERSION:-"xenial"}

# for Operating System
if [ $OS_VERSION = 'xenial' ]; then
    export ADAPTER_OS_PATTERN=${ADAPTER_OS_PATTERN:-'(?i)ubuntu-16\.04'}
else
    export ADAPTER_OS_PATTERN=${ADAPTER_OS_PATTERN:-'(?i)CentOS-7.*16.*'}
fi

# newton
export OPENSTACK_VERSION=${OPENSTACK_VERSION:-"newton"}

# don't touch this
export ADAPTER_TARGET_SYSTEM_PATTERN="^openstack$"

if [ $OS_VERSION = 'centos7' ]; then
    unset REPO_NAME
else
    export REPO_NAME="$OS_VERSION-$OPENSTACK_VERSION-ppa"
fi

export ADAPTER_NAME="openstack_$OPENSTACK_VERSION"
export ADAPTER_FLAVOR_PATTERN="HA-ansible-multinodes-$OPENSTACK_VERSION"

export DEFAULT_ROLES=""
export VIP="10.1.0.222"