diff options
author | leonwang <wanghui71@huawei.com> | 2018-01-25 09:01:40 +0000 |
---|---|---|
committer | leonwang <wanghui71@huawei.com> | 2018-01-26 00:23:33 +0000 |
commit | 1dc4e57ae38ea5a4989aeb382c3450a26363ead5 (patch) | |
tree | 514ef1f93a040cde7aeef3406c364f998f54fd19 /ci/nbp-ansible/roles/cleaner | |
parent | c032cadb1e645bf60cfd9276ed2660cc602a0e25 (diff) |
Add nbp-ansible script to deploy opensds northbound plugins
In this patch, I created another ansible script to deploy opensds
northbound plugins. Since we plan to integrate opensds with k8s
using flexvolume, I only add flexvolume role to work on it. But
the framework is extensible for adding more roles to integrate
with k8s in other ways.
Besides, I drafted the installation doc of integrating stor4nfv
with k8s in docs directory so that Compass team can work on it
more easily.
Change-Id: Ifbd6cc38bf1789de0fcb132e6aa3cfcd9072a11b
Signed-off-by: leonwang <wanghui71@huawei.com>
Diffstat (limited to 'ci/nbp-ansible/roles/cleaner')
-rw-r--r-- | ci/nbp-ansible/roles/cleaner/tasks/main.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ci/nbp-ansible/roles/cleaner/tasks/main.yml b/ci/nbp-ansible/roles/cleaner/tasks/main.yml new file mode 100644 index 0000000..38678b0 --- /dev/null +++ b/ci/nbp-ansible/roles/cleaner/tasks/main.yml @@ -0,0 +1,21 @@ +---
+- name: clean opensds flexvolume plugins binary file
+ file:
+ path: "{{ flexvolume_plugin_dir }}"
+ state: absent
+ force: yes
+ ignore_errors: yes
+
+- name: clean nbp release files
+ file:
+ path: "{{ nbp_dir }}"
+ state: absent
+ force: yes
+ ignore_errors: yes
+
+- name: clean nbp release tarball file
+ file:
+ path: "{{ nbp_tarball_url }}"
+ state: absent
+ force: yes
+ ignore_errors: yes
|