1 # Copyright (c) 2018 Huawei Technologies Co., Ltd. All Rights Reserved.
\r
3 # Licensed under the Apache License, Version 2.0 (the "License");
\r
4 # you may not use this file except in compliance with the License.
\r
5 # You may obtain a copy of the License at
\r
7 # http://www.apache.org/licenses/LICENSE-2.0
\r
9 # Unless required by applicable law or agreed to in writing, software
\r
10 # distributed under the License is distributed on an "AS IS" BASIS,
\r
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
12 # See the License for the specific language governing permissions and
\r
13 # limitations under the License.
\r
16 # Dummy variable to avoid error because ansible does not recognize the
\r
17 # file as a good configuration file when no variable in it.
\r
25 # This field indicates which way user prefers to install, currently support
\r
26 # 'repository', 'release' and 'container'
\r
27 install_from: release
\r
29 # This field indicates which os family the system will be running, currently
\r
30 # support 'Debian' and 'RedHat'
\r
31 ansible_os_family: Debian
\r
33 # These fields are NOT suggested to be modifie
\r
34 opensds_work_dir: /opt/opensds-hotpot-linux-amd64
\r
35 nbp_work_dir: /opt/opensds-sushi-linux-amd64
\r
36 opensds_config_dir: /etc/opensds
\r
37 opensds_driver_config_dir: "{{ opensds_config_dir }}/driver"
\r
38 opensds_log_dir: /var/log/opensds
\r
45 # If user specifies intalling from repository, then he can choose the specific
\r
47 opensds_repo_branch: stable/aruba
\r
48 nbp_repo_branch: stable/aruba
\r
50 # These fields are NOT suggested to be modified
\r
51 opensds_remote_url: https://github.com/opensds/opensds.git
\r
52 nbp_remote_url: https://github.com/opensds/nbp.git
\r
59 # If user specifies intalling from release,then he can choose the specific version
\r
60 opensds_release: v0.3.0 # The version should be at least v0.2.1
\r
61 nbp_release: v0.3.0 # The version should be at least v0.2.1
\r
63 # These fields are NOT suggested to be modified
\r
64 opensds_download_url: https://github.com/opensds/opensds/releases/download/{{ opensds_release }}/opensds-hotpot-{{ opensds_release }}-linux-amd64.tar.gz
\r
65 opensds_tarball_dir: /tmp/opensds-hotpot-{{ opensds_release }}-linux-amd64
\r
66 nbp_download_url: https://github.com/opensds/nbp/releases/download/{{ nbp_release }}/opensds-sushi-{{ nbp_release }}-linux-amd64.tar.gz
\r
67 nbp_tarball_dir: /tmp/opensds-sushi-{{ nbp_release }}-linux-amd64
\r
74 opensds_image_tag: aruba
\r
76 # These fields are NOT suggested to be modified
\r
77 controller_docker_image: opensdsio/opensds-controller:{{ opensds_image_tag }}
\r
78 dock_docker_image: opensdsio/opensds-dock:{{ opensds_image_tag }}
\r
85 # 'hotpot_only' is the default integration way, but you can change it to 'csi'
\r
87 nbp_plugin_type: hotpot_only
\r
88 # The IP (127.0.0.1) should be replaced with the opensds actual endpoint IP
\r
89 opensds_endpoint: http://127.0.0.1:50040
\r
91 # These fields are NOT suggested to be modified
\r
92 flexvolume_plugin_dir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/opensds.io~opensds
\r