2 # Variables here are applicable to all host groups NOT roles
\r
4 # This sample file generated by generate_group_vars_sample.sh
\r
6 # Dummy variable to avoid error because ansible does not recognize the
\r
7 # file as a good configuration file when no variable in it.
\r
10 # You can override default vars defined in defaults/main.yml here,
\r
11 # but I would advice to use host or group vars instead
\r
18 # Change it according to your backend, currently support 'lvm', 'ceph', 'cinder'
\r
19 enabled_backend: lvm
\r
21 # These fields are NOT suggested to be modified
\r
22 dock_endpoint: localhost:50050
\r
23 dock_log_file: "{{ opensds_log_dir }}/osdsdock.log"
\r
29 pv_device: /dev/sdb # Specify a block device and ensure it existed if you choose lvm
\r
30 vg_name: vg001 # Specify a name randomly
\r
32 # These fields are NOT suggested to be modified
\r
33 lvm_name: lvm backend
\r
34 lvm_description: This is a lvm backend service
\r
35 lvm_driver_name: lvm
\r
36 lvm_config_path: "{{ opensds_config_dir }}/driver/lvm.yaml"
\r
42 ceph_pool_name: rbd # Specify a name randomly
\r
44 # These fields are NOT suggested to be modified
\r
45 ceph_name: ceph backend
\r
46 ceph_description: This is a ceph backend service
\r
47 ceph_driver_name: ceph
\r
48 ceph_config_path: "{{ opensds_config_dir }}/driver/ceph.yaml"
\r
54 # Use block-box install cinder_standalone if true, see details in:
\r
55 # https://github.com/openstack/cinder/tree/master/contrib/block-box
\r
56 use_cinder_standalone: true
\r
57 # If true, you can configure cinder_container_platform, cinder_image_tag,
\r
58 # cinder_volume_group.
\r
60 # Default: debian:stretch, and ubuntu:xenial, centos:7 is also supported.
\r
61 cinder_container_platform: debian:stretch
\r
62 # The image tag can be arbitrarily modified, as long as follow the image naming
\r
63 # conventions, default: debian-cinder
\r
64 cinder_image_tag: debian-cinder
\r
65 # The cinder standalone use lvm driver as default driver, therefore `volume_group`
\r
66 # should be configured, the default is: cinder-volumes. The volume group will be
\r
67 # removed when use ansible script clean environment.
\r
68 cinder_volume_group: cinder-volumes
\r
69 # All source code and volume group file will be placed in the cinder_data_dir:
\r
70 cinder_data_dir: "{{ workplace }}/cinder_data_dir"
\r
73 # These fields are not suggested to be modified
\r
74 cinder_name: cinder backend
\r
75 cinder_description: This is a cinder backend service
\r
76 cinder_driver_name: cinder
\r
77 cinder_config_path: "{{ opensds_config_dir }}/driver/cinder.yaml"
\r
83 dock_docker_image: dockerio/opensds-dock:zealand
\r