2 # Dummy variable to avoid error because ansible does not recognize the
\r
3 # file as a good configuration file when no variable in it.
\r
11 # Change it according to your backend, currently support 'lvm', 'ceph', 'cinder'
\r
12 enabled_backend: lvm
\r
14 # These fields are NOT suggested to be modified
\r
15 dock_endpoint: localhost:50050
\r
16 dock_log_file: "{{ opensds_log_dir }}/osdsdock.log"
\r
22 pv_devices: # Specify block devices and ensure them existed if you choose lvm
\r
25 vg_name: vg001 # Specify a name randomly
\r
27 # These fields are NOT suggested to be modified
\r
28 lvm_name: lvm backend
\r
29 lvm_description: This is a lvm backend service
\r
30 lvm_driver_name: lvm
\r
31 lvm_config_path: "{{ opensds_config_dir }}/driver/lvm.yaml"
\r
37 ceph_pools: # Specify pool name randomly
\r
42 # These fields are NOT suggested to be modified
\r
43 ceph_name: ceph backend
\r
44 ceph_description: This is a ceph backend service
\r
45 ceph_driver_name: ceph
\r
46 ceph_config_path: "{{ opensds_config_dir }}/driver/ceph.yaml"
\r
52 # Use block-box install cinder_standalone if true, see details in:
\r
53 # https://github.com/openstack/cinder/tree/master/contrib/block-box
\r
54 use_cinder_standalone: true
\r
55 # If true, you can configure cinder_container_platform, cinder_image_tag,
\r
56 # cinder_volume_group.
\r
58 # Default: debian:stretch, and ubuntu:xenial, centos:7 is also supported.
\r
59 cinder_container_platform: debian:stretch
\r
60 # The image tag can be arbitrarily modified, as long as follow the image naming
\r
61 # conventions, default: debian-cinder
\r
62 cinder_image_tag: debian-cinder
\r
63 # The cinder standalone use lvm driver as default driver, therefore `volume_group`
\r
64 # should be configured, the default is: cinder-volumes. The volume group will be
\r
65 # removed when use ansible script clean environment.
\r
66 cinder_volume_group: cinder-volumes
\r
67 # All source code and volume group file will be placed in the cinder_data_dir:
\r
68 cinder_data_dir: "{{ workplace }}/cinder_data_dir"
\r
71 # These fields are not suggested to be modified
\r
72 cinder_name: cinder backend
\r
73 cinder_description: This is a cinder backend service
\r
74 cinder_driver_name: cinder
\r
75 cinder_config_path: "{{ opensds_config_dir }}/driver/cinder.yaml"
\r
81 dock_docker_image: opensdsio/opensds-dock:latest
\r