Code Review
/
stor4nfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add csi plugin ansible and tutorial document
[stor4nfv.git]
/
ci
/
ansible
/
roles
/
cleaner
/
tasks
/
main.yml
diff --git
a/ci/ansible/roles/cleaner/tasks/main.yml
b/ci/ansible/roles/cleaner/tasks/main.yml
index
93aeb59
..
334d5bb
100644
(file)
--- a/
ci/ansible/roles/cleaner/tasks/main.yml
+++ b/
ci/ansible/roles/cleaner/tasks/main.yml
@@
-1,4
+1,11
@@
---
\r
---
\r
+- name: remove golang tarball
\r
+ file:
\r
+ path: "/opt/{{ golang_tarball }}"
\r
+ state: absent
\r
+ force: yes
\r
+ ignore_errors: yes
\r
+
\r
- name: kill etcd daemon service
\r
shell: killall etcd
\r
ignore_errors: yes
\r
- name: kill etcd daemon service
\r
shell: killall etcd
\r
ignore_errors: yes
\r
@@
-14,7
+21,7
@@
\r
- name: remove etcd tarball
\r
file:
\r
\r
- name: remove etcd tarball
\r
file:
\r
- path: "/
tmp
/{{ etcd_tarball }}"
\r
+ path: "/
opt
/{{ etcd_tarball }}"
\r
state: absent
\r
force: yes
\r
ignore_errors: yes
\r
state: absent
\r
force: yes
\r
ignore_errors: yes
\r
@@
-29,11
+36,9
@@
ignore_errors: yes
\r
\r
- name: clean all opensds build files
\r
ignore_errors: yes
\r
\r
- name: clean all opensds build files
\r
- file:
\r
- path: "{{ opensds_build_dir }}"
\r
- state: absent
\r
- force: yes
\r
- ignore_errors: yes
\r
+ shell: . /etc/profile; make clean
\r
+ args:
\r
+ chdir: "{{ opensds_root_dir }}"
\r
\r
- name: clean all opensds configuration files
\r
file:
\r
\r
- name: clean all opensds configuration files
\r
file:
\r