Push zealand version of opensds ansible as base-code of Stor4NFV
[stor4nfv.git] / ci / ansible / group_vars / osdsdock.yml
diff --git a/ci/ansible/group_vars/osdsdock.yml b/ci/ansible/group_vars/osdsdock.yml
new file mode 100644 (file)
index 0000000..edbfa2a
--- /dev/null
@@ -0,0 +1,83 @@
+---\r
+# Variables here are applicable to all host groups NOT roles\r
+\r
+# This sample file generated by generate_group_vars_sample.sh\r
+\r
+# Dummy variable to avoid error because ansible does not recognize the\r
+# file as a good configuration file when no variable in it.\r
+dummy:\r
+\r
+# You can override default vars defined in defaults/main.yml here,\r
+# but I would advice to use host or group vars instead\r
+\r
+\r
+###########\r
+# GENERAL #\r
+###########\r
+\r
+# Change it according to your backend, currently support 'lvm', 'ceph', 'cinder'\r
+enabled_backend: lvm\r
+\r
+# These fields are NOT suggested to be modified\r
+dock_endpoint: localhost:50050\r
+dock_log_file: "{{ opensds_log_dir }}/osdsdock.log"\r
+\r
+###########\r
+#   LVM   #\r
+###########\r
+\r
+pv_device: /dev/sdb # Specify a block device and ensure it existed if you choose lvm\r
+vg_name: vg001 # Specify a name randomly\r
+\r
+# These fields are NOT suggested to be modified\r
+lvm_name: lvm backend\r
+lvm_description: This is a lvm backend service\r
+lvm_driver_name: lvm\r
+lvm_config_path: "{{ opensds_config_dir }}/driver/lvm.yaml"\r
+\r
+###########\r
+#  CEPH   #\r
+###########\r
+\r
+ceph_pool_name: rbd # Specify a name randomly\r
+\r
+# These fields are NOT suggested to be modified\r
+ceph_name: ceph backend\r
+ceph_description: This is a ceph backend service\r
+ceph_driver_name: ceph\r
+ceph_config_path: "{{ opensds_config_dir }}/driver/ceph.yaml"\r
+\r
+###########\r
+# CINDER  #\r
+###########\r
+\r
+# Use block-box install cinder_standalone if true, see details in:\r
+# https://github.com/openstack/cinder/tree/master/contrib/block-box\r
+use_cinder_standalone: true\r
+# If true, you can configure cinder_container_platform,  cinder_image_tag,\r
+# cinder_volume_group.\r
+\r
+# Default: debian:stretch, and ubuntu:xenial, centos:7 is also supported.\r
+cinder_container_platform: debian:stretch\r
+# The image tag can be arbitrarily modified, as long as follow the image naming\r
+# conventions, default: debian-cinder\r
+cinder_image_tag: debian-cinder\r
+# The cinder standalone use lvm driver as default driver, therefore `volume_group`\r
+# should be configured, the default is: cinder-volumes. The volume group will be\r
+# removed when use ansible script clean environment.\r
+cinder_volume_group: cinder-volumes\r
+# All source code and volume group file will be placed in the cinder_data_dir:\r
+cinder_data_dir: "{{ workplace }}/cinder_data_dir"\r
+\r
+\r
+# These fields are not suggested to be modified\r
+cinder_name: cinder backend\r
+cinder_description: This is a cinder backend service\r
+cinder_driver_name: cinder\r
+cinder_config_path: "{{ opensds_config_dir }}/driver/cinder.yaml"\r
+\r
+###########\r
+# DOCKER  #\r
+###########\r
+\r
+dock_docker_image: dockerio/opensds-dock:zealand\r