summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml
diff options
context:
space:
mode:
Diffstat (limited to 'kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml')
-rw-r--r--kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml13
1 files changed, 2 insertions, 11 deletions
diff --git a/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml b/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml
index 6adaf2ee..ddfedbb4 100644
--- a/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml
+++ b/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml
@@ -15,7 +15,7 @@
file: kud-vars.yml
- name: Change the onap4k8s directory and run helm delete
- command: /usr/local/bin/helm delete --purge multicloud-onap8ks
+ command: /usr/local/bin/helm uninstall --namespace onap4k8s-ns multicloud-onap8ks
register: helm_delete
args:
chdir: /opt/multicloud/deployments/helm/onap4k8s
@@ -23,7 +23,7 @@
- debug:
var: helm_delete.stdout_lines
- - name: Change the onap4k8s directory and delete the ona4k8s-ns namespace
+ - name: Change the onap4k8s directory and delete the onap4k8s-ns namespace
command: /usr/local/bin/kubectl delete ns onap4k8s-ns
register: delete_onap_ns
args:
@@ -41,15 +41,6 @@
- debug:
var: make_clean.stdout_lines
- - name: Change the onap4k8s directory and make repo-stop
- command: /usr/bin/make repo-stop
- register: make_repo_stop
- args:
- chdir: /opt/multicloud/deployments/helm/onap4k8s
-
- - debug:
- var: make_repo_stop.stdout_lines
-
- name: clean multicloud-k8s path
file:
state: absent