diff options
Diffstat (limited to 'ci/ansible/roles/nbp-installer/scenarios')
-rw-r--r-- | ci/ansible/roles/nbp-installer/scenarios/csi.yml | 0 | ||||
-rw-r--r-- | ci/ansible/roles/nbp-installer/scenarios/flexvolume.yml | 11 |
2 files changed, 11 insertions, 0 deletions
diff --git a/ci/ansible/roles/nbp-installer/scenarios/csi.yml b/ci/ansible/roles/nbp-installer/scenarios/csi.yml new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/ci/ansible/roles/nbp-installer/scenarios/csi.yml diff --git a/ci/ansible/roles/nbp-installer/scenarios/flexvolume.yml b/ci/ansible/roles/nbp-installer/scenarios/flexvolume.yml new file mode 100644 index 0000000..0bba93b --- /dev/null +++ b/ci/ansible/roles/nbp-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"
|