Merge nbp installation into opensds ansible script
[stor4nfv.git] / ci / ansible / group_vars / common.yml
index 11fdc80..cbdaaf6 100644 (file)
@@ -1,25 +1,39 @@
 ---\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
-workplace: /home/krej # Change this field according to your username\r
+opensds_release: v0.1.4 # The version should be at least v0.1.4.\r
+nbp_release: v0.1.0 # The version should be at least v0.1.0.\r
+\r
+# These fields are not suggested to be modified\r
+opensds_download_url: https://github.com/opensds/opensds/releases/download/{{ opensds_release }}/opensds-{{ opensds_release }}-linux-amd64.tar.gz\r
+opensds_tarball_url: /opt/opensds-{{ opensds_release }}-linux-amd64.tar.gz\r
+opensds_dir: /opt/opensds-{{ opensds_release }}-linux-amd64\r
+nbp_download_url: https://github.com/opensds/nbp/releases/download/{{ nbp_release }}/opensds-k8s-{{ nbp_release }}-linux-amd64.tar.gz\r
+nbp_tarball_url: /opt/opensds-k8s-{{ nbp_release }}-linux-amd64.tar.gz\r
+nbp_dir: /opt/opensds-k8s-{{ nbp_release }}-linux-amd64\r
 \r
-# These fields are NOT suggested to be modified\r
-remote_url: https://github.com/opensds/opensds.git\r
-opensds_root_dir: "{{ workplace }}/gopath/src/github.com/opensds/opensds"\r
-opensds_build_dir: "{{ opensds_root_dir }}/build"\r
 opensds_config_dir: /etc/opensds\r
 opensds_log_dir: /var/log/opensds\r
+\r
+\r
+###########\r
+# PLUGIN  #\r
+###########\r
+\r
+nbp_plugin_type: standalone # standalone is the default integration way, but you can change it to 'csi', 'flexvolume'\r
+\r
+flexvolume_plugin_dir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/opensds.io~opensds\r
+\r
+\r
+###########\r
+#CONTAINER#\r
+###########\r
+\r
+container_enabled: false\r