50749e6717cadd8734daad0714847938f3c4ee10
[stor4nfv.git] / ci / ansible / group_vars / common.yml
1 # Copyright (c) 2018 Huawei Technologies Co., Ltd. All Rights Reserved.\r
2 #\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
6 #\r
7 #     http://www.apache.org/licenses/LICENSE-2.0\r
8 #\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
14 \r
15 ---\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
18 dummy:\r
19 \r
20 \r
21 ###########\r
22 # GENERAL #\r
23 ###########\r
24 \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
28 \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
35 \r
36 \r
37 ##############\r
38 # REPOSITORY #\r
39 ##############\r
40 \r
41 # If user specifies intalling from repository, then he can choose the specific\r
42 # repository branch\r
43 opensds_repo_branch: master\r
44 nbp_repo_branch: master\r
45 \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
49 \r
50 \r
51 ###########\r
52 # RELEASE #\r
53 ###########\r
54 \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
58 \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
64 \r
65 \r
66 #############\r
67 # CONTAINER #\r
68 #############\r
69 \r
70 container_enabled: false\r
71 \r
72 \r
73 ###########\r
74 # PLUGIN  #\r
75 ###########\r
76 \r
77 # 'hotpot_only' is the default integration way, but you can change it to 'csi'\r
78 # or 'flexvolume'\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
82 \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