Push zealand version of opensds ansible as base-code of Stor4NFV
[stor4nfv.git] / ci / ansible / group_vars / osdsdock.yml
1 ---\r
2 # Variables here are applicable to all host groups NOT roles\r
3 \r
4 # This sample file generated by generate_group_vars_sample.sh\r
5 \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
8 dummy:\r
9 \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
12 \r
13 \r
14 ###########\r
15 # GENERAL #\r
16 ###########\r
17 \r
18 # Change it according to your backend, currently support 'lvm', 'ceph', 'cinder'\r
19 enabled_backend: lvm\r
20 \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
24 \r
25 ###########\r
26 #   LVM   #\r
27 ###########\r
28 \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
31 \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
37 \r
38 ###########\r
39 #  CEPH   #\r
40 ###########\r
41 \r
42 ceph_pool_name: rbd # Specify a name randomly\r
43 \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
49 \r
50 ###########\r
51 # CINDER  #\r
52 ###########\r
53 \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
59 \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
71 \r
72 \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
78 \r
79 ###########\r
80 # DOCKER  #\r
81 ###########\r
82 \r
83 dock_docker_image: dockerio/opensds-dock:zealand\r