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 # Change it according to your backend, currently support 'lvm', 'ceph', 'cinder'
\r
26 enabled_backend: lvm
\r
27 # Change it according to your node type (host or target), currently support
\r
28 # 'provisioner', 'attacher'
\r
29 dock_type: provisioner
\r
31 # These fields are NOT suggested to be modified
\r
32 dock_endpoint: localhost:50050
\r
33 dock_log_file: "{{ opensds_log_dir }}/osdsdock.log"
\r
41 # These fields are NOT suggested to be modified
\r
42 lvm_name: lvm backend
\r
43 lvm_description: This is a lvm backend service
\r
44 lvm_driver_name: lvm
\r
45 lvm_config_path: "{{ opensds_driver_config_dir }}/lvm.yaml"
\r
46 opensds_volume_group: opensds-volumes
\r
54 ceph_pools: # Specify pool name randomly
\r
59 # These fields are NOT suggested to be modified
\r
60 ceph_name: ceph backend
\r
61 ceph_description: This is a ceph backend service
\r
62 ceph_driver_name: ceph
\r
63 ceph_config_path: "{{ opensds_driver_config_dir }}/ceph.yaml"
\r
70 # Use block-box install cinder_standalone if true, see details in:
\r
71 # https://github.com/openstack/cinder/tree/master/contrib/block-box
\r
72 use_cinder_standalone: true
\r
73 # If true, you can configure cinder_container_platform, cinder_image_tag,
\r
74 # cinder_volume_group.
\r
76 # Default: debian:stretch, and ubuntu:xenial, centos:7 is also supported.
\r
77 cinder_container_platform: debian:stretch
\r
78 # The image tag can be arbitrarily modified, as long as follow the image naming
\r
79 # conventions, default: debian-cinder
\r
80 cinder_image_tag: debian-cinder
\r
81 # The cinder standalone use lvm driver as default driver, therefore `volume_group`
\r
82 # should be configured, the default is: cinder-volumes. The volume group will be
\r
83 # removed when use ansible script clean environment.
\r
84 cinder_volume_group: cinder-volumes
\r
85 # All source code and volume group file will be placed in the cinder_data_dir:
\r
86 cinder_data_dir: "/opt/cinder_data_dir"
\r
88 # These fields are NOT suggested to be modified
\r
89 cinder_name: cinder backend
\r
90 cinder_description: This is a cinder backend service
\r
91 cinder_driver_name: cinder
\r
92 cinder_config_path: "{{ opensds_driver_config_dir }}/cinder.yaml"
\r