Update the latest version of ansible script
[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: release\r
28 \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
32 \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
39 \r
40 \r
41 ##############\r
42 # REPOSITORY #\r
43 ##############\r
44 \r
45 # If user specifies intalling from repository, then he can choose the specific\r
46 # repository branch\r
47 opensds_repo_branch: stable/aruba\r
48 nbp_repo_branch: stable/aruba\r
49 \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
53 \r
54 \r
55 ###########\r
56 # RELEASE #\r
57 ###########\r
58 \r
59 # If user specifies intalling from release,then he can choose the specific version\r
60 opensds_release: v0.2.1 # The version should be at least v0.2.1\r
61 nbp_release: v0.2.1 # The version should be at least v0.2.1\r
62 \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
68 \r
69 \r
70 #############\r
71 # CONTAINER #\r
72 #############\r
73 \r
74 opensds_image_tag: aruba\r
75 \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
79 \r
80 \r
81 ###########\r
82 # PLUGIN  #\r
83 ###########\r
84 \r
85 # 'hotpot_only' is the default integration way, but you can change it to 'csi'\r
86 # or 'flexvolume'\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
90 \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