X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fansible%2Froles%2Fcleaner%2Ftasks%2Fmain.yml;fp=ci%2Fansible%2Froles%2Fcleaner%2Ftasks%2Fmain.yml;h=334d5bb759d5a1e8e99b9ff619f7b35bdb855693;hb=561c0708b78eed8120b90f0221cd66730c9e8a74;hp=93aeb59debce40a51892a6c1beeb9b6cfaa46602;hpb=1dc4e57ae38ea5a4989aeb382c3450a26363ead5;p=stor4nfv.git diff --git a/ci/ansible/roles/cleaner/tasks/main.yml b/ci/ansible/roles/cleaner/tasks/main.yml index 93aeb59..334d5bb 100644 --- a/ci/ansible/roles/cleaner/tasks/main.yml +++ b/ci/ansible/roles/cleaner/tasks/main.yml @@ -1,4 +1,11 @@ --- +- name: remove golang tarball + file: + path: "/opt/{{ golang_tarball }}" + state: absent + force: yes + ignore_errors: yes + - name: kill etcd daemon service shell: killall etcd ignore_errors: yes @@ -14,7 +21,7 @@ - name: remove etcd tarball file: - path: "/tmp/{{ etcd_tarball }}" + path: "/opt/{{ etcd_tarball }}" state: absent force: yes ignore_errors: yes @@ -29,11 +36,9 @@ ignore_errors: yes - name: clean all opensds build files - file: - path: "{{ opensds_build_dir }}" - state: absent - force: yes - ignore_errors: yes + shell: . /etc/profile; make clean + args: + chdir: "{{ opensds_root_dir }}" - name: clean all opensds configuration files file: