X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fansible%2Fgroup_vars%2Fcommon.yml;h=71e946e24dadc33ced472c6d1cd71ce156e270cb;hb=4ced57eae63a52ea517d4087662726d942da8441;hp=734d2e36bd4b790d9a906f786e5c972407445e0e;hpb=b9f16e2669ff5a0cde006951ffec5dff84ac29df;p=stor4nfv.git diff --git a/ci/ansible/group_vars/common.yml b/ci/ansible/group_vars/common.yml old mode 100755 new mode 100644 index 734d2e3..71e946e --- a/ci/ansible/group_vars/common.yml +++ b/ci/ansible/group_vars/common.yml @@ -1,34 +1,92 @@ ---- -# Dummy variable to avoid error because ansible does not recognize the -# file as a good configuration file when no variable in it. -dummy: - - -########### -# GENERAL # -########### - -workplace: /home/krej # Change this field according to your username, use '/root' if you login as root. - -# These fields are NOT suggested to be modified -remote_url: https://github.com/opensds/opensds.git -opensds_root_dir: "{{ workplace }}/gopath/src/github.com/opensds/opensds" -opensds_build_dir: "{{ opensds_root_dir }}/build" -opensds_config_dir: /etc/opensds -opensds_log_dir: /var/log/opensds - -########### -# GOLANG # -########### - -golang_release: 1.9.2 - -# These fields are NOT suggested to be modified -golang_tarball: go{{ golang_release }}.linux-amd64.tar.gz -golang_download_url: https://storage.googleapis.com/golang/{{ golang_tarball }} - -########### -#CONTAINER# -########### - -container_enabled: false +# Copyright (c) 2018 Huawei Technologies Co., Ltd. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- +# Dummy variable to avoid error because ansible does not recognize the +# file as a good configuration file when no variable in it. +dummy: + + +########### +# GENERAL # +########### + +# This field indicates which way user prefers to install, currently support +# 'repository', 'release' and 'container' +install_from: release + +# This field indicates which os family the system will be running, currently +# support 'Debian' and 'RedHat' +ansible_os_family: Debian + +# These fields are NOT suggested to be modifie +opensds_work_dir: /opt/opensds-hotpot-linux-amd64 +nbp_work_dir: /opt/opensds-sushi-linux-amd64 +opensds_config_dir: /etc/opensds +opensds_driver_config_dir: "{{ opensds_config_dir }}/driver" +opensds_log_dir: /var/log/opensds + + +############## +# REPOSITORY # +############## + +# If user specifies intalling from repository, then he can choose the specific +# repository branch +opensds_repo_branch: stable/aruba +nbp_repo_branch: stable/aruba + +# These fields are NOT suggested to be modified +opensds_remote_url: https://github.com/opensds/opensds.git +nbp_remote_url: https://github.com/opensds/nbp.git + + +########### +# RELEASE # +########### + +# If user specifies intalling from release,then he can choose the specific version +opensds_release: v0.3.0 # The version should be at least v0.2.1 +nbp_release: v0.3.0 # The version should be at least v0.2.1 + +# These fields are NOT suggested to be modified +opensds_download_url: https://github.com/opensds/opensds/releases/download/{{ opensds_release }}/opensds-hotpot-{{ opensds_release }}-linux-amd64.tar.gz +opensds_tarball_dir: /tmp/opensds-hotpot-{{ opensds_release }}-linux-amd64 +nbp_download_url: https://github.com/opensds/nbp/releases/download/{{ nbp_release }}/opensds-sushi-{{ nbp_release }}-linux-amd64.tar.gz +nbp_tarball_dir: /tmp/opensds-sushi-{{ nbp_release }}-linux-amd64 + + +############# +# CONTAINER # +############# + +opensds_image_tag: aruba + +# These fields are NOT suggested to be modified +controller_docker_image: opensdsio/opensds-controller:{{ opensds_image_tag }} +dock_docker_image: opensdsio/opensds-dock:{{ opensds_image_tag }} + + +########### +# PLUGIN # +########### + +# 'hotpot_only' is the default integration way, but you can change it to 'csi' +# or 'flexvolume' +nbp_plugin_type: hotpot_only +# The IP (127.0.0.1) should be replaced with the opensds actual endpoint IP +opensds_endpoint: http://127.0.0.1:50040 + +# These fields are NOT suggested to be modified +flexvolume_plugin_dir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/opensds.io~opensds