From 561c0708b78eed8120b90f0221cd66730c9e8a74 Mon Sep 17 00:00:00 2001 From: leonwang Date: Sat, 3 Feb 2018 09:27:38 +0000 Subject: Add csi plugin ansible and tutorial document As discussed on Compass4NFV meeting this week, we need to add the support for csi-plugin. So in this patch I extend nbp-ansible to support integrating with k8s using csi. All the detailed information can be found in documents. Besides, since opensds community has updated something in opensds ansible, we should update ours to keep up with the latest code. Change-Id: I238c7f7652b6a9c86cc9fcb24d9575d625c5f80a Signed-off-by: leonwang --- ci/nbp-ansible/roles/installer/scenarios/flexvolume.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ci/nbp-ansible/roles/installer/scenarios/flexvolume.yml (limited to 'ci/nbp-ansible/roles/installer/scenarios/flexvolume.yml') diff --git a/ci/nbp-ansible/roles/installer/scenarios/flexvolume.yml b/ci/nbp-ansible/roles/installer/scenarios/flexvolume.yml new file mode 100644 index 0000000..0bba93b --- /dev/null +++ b/ci/nbp-ansible/roles/installer/scenarios/flexvolume.yml @@ -0,0 +1,11 @@ +--- +- name: Create flexvolume plugin directory if not existed + file: + path: "{{ flexvolume_plugin_dir }}" + state: directory + mode: 0755 + +- name: Copy opensds flexvolume plugin binary file into flexvolume plugin dir + copy: + src: "{{ nbp_dir }}/flexvolume/opensds" + dest: "{{ flexvolume_plugin_dir }}/opensds" -- cgit 1.2.3-korg