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: repository
\r
29 # These fields are NOT suggested to be modifie
\r
30 opensds_work_dir: /opt/opensds-linux-amd64
\r
31 nbp_work_dir: /opt/opensds-k8s-linux-amd64
\r
32 opensds_config_dir: /etc/opensds
\r
33 opensds_driver_config_dir: "{{ opensds_config_dir }}/driver"
\r
34 opensds_log_dir: /var/log/opensds
\r
41 # If user specifies intalling from repository, then he can choose the specific
\r
43 opensds_repo_branch: master
\r
44 nbp_repo_branch: master
\r
46 # These fields are NOT suggested to be modified
\r
47 opensds_remote_url: https://github.com/opensds/opensds.git
\r
48 nbp_remote_url: https://github.com/opensds/nbp.git
\r
55 # If user specifies intalling from release,then he can choose the specific version
\r
56 opensds_release: v0.2.0 # The version should be at least v0.2.0
\r
57 nbp_release: v0.2.0 # The version should be at least v0.2.0
\r
59 # These fields are NOT suggested to be modified
\r
60 opensds_download_url: https://github.com/opensds/opensds/releases/download/{{ opensds_release }}/opensds-{{ opensds_release }}-linux-amd64.tar.gz
\r
61 opensds_tarball_dir: /tmp/opensds-{{ opensds_release }}-linux-amd64
\r
62 nbp_download_url: https://github.com/opensds/nbp/releases/download/{{ nbp_release }}/opensds-k8s-{{ nbp_release }}-linux-amd64.tar.gz
\r
63 nbp_tarball_dir: /tmp/opensds-k8s-{{ nbp_release }}-linux-amd64
\r
70 container_enabled: false
\r
77 # 'hotpot_only' is the default integration way, but you can change it to 'csi'
\r
79 nbp_plugin_type: hotpot_only
\r
80 # The IP (127.0.0.1) should be replaced with the opensds actual endpoint IP
\r
81 opensds_endpoint: http://127.0.0.1:50040
\r
83 # These fields are NOT suggested to be modified
\r
84 flexvolume_plugin_dir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/opensds.io~opensds
\r