Code Review
/
ealt-edge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
munomode
[ealt-edge.git]
/
ocd
/
infra
/
playbooks
/
roles
/
eg_mep
/
tasks
/
uninstall.yml
diff --git
a/ocd/infra/playbooks/roles/eg_mep/tasks/uninstall.yml
b/ocd/infra/playbooks/roles/eg_mep/tasks/uninstall.yml
index
d64aa0d
..
3cf66ef
100644
(file)
--- a/
ocd/infra/playbooks/roles/eg_mep/tasks/uninstall.yml
+++ b/
ocd/infra/playbooks/roles/eg_mep/tasks/uninstall.yml
@@
-1,4
+1,3
@@
-#
# Copyright 2020 Huawei Technologies Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Copyright 2020 Huawei Technologies Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@
-36,6
+35,11
@@
ignore_errors: yes
no_log: True
ignore_errors: yes
no_log: True
+- name: Delete dns namesapce metallb
+ command: kubectl delete secret memberlist -n metallb-system
+ ignore_errors: yes
+ no_log: True
+
- name: Delete ssl config namesapce mep
command: kubectl delete ns mep
ignore_errors: yes
- name: Delete ssl config namesapce mep
command: kubectl delete ns mep
ignore_errors: yes
@@
-43,95
+47,61
@@
- name: Delete network isolation multus eg sp controller
# yamllint disable rule:line-length
- name: Delete network isolation multus eg sp controller
# yamllint disable rule:line-length
- command: kubectl delete -f /tmp/eg_mep/deploy/edge/network-isolation/eg-sp-controller.yaml
- # yamllint disable rule:line-length
- args:
- chdir: /tmp/eg_mep/deploy/
+ command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/network-isolation/eg-sp-controller.yaml
ignore_errors: yes
no_log: True
- name: Delete network isolation multus eg sp rbac
# yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/network-isolation/eg-sp-rbac.yaml
ignore_errors: yes
no_log: True
- name: Delete network isolation multus eg sp rbac
# yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/network-isolation/eg-sp-rbac.yaml
- # yamllint disable rule:line-length
- args:
- chdir: /tmp/eg_mep/deploy/
ignore_errors: yes
no_log: True
- name: Delete network isolation multus
ignore_errors: yes
no_log: True
- name: Delete network isolation multus
+ # yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/network-isolation/multus.yaml
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/network-isolation/multus.yaml
- args:
- chdir: /tmp/eg_mep/deploy/
- ignore_errors: yes
- no_log: True
-
-- name: Delete network isolation rm host local
- command: rm /opt/cni/bin/macvlan /opt/cni/bin/host-local
- args:
- chdir: /tmp/remote-platform/
ignore_errors: yes
no_log: True
- name: Delete network isolation eg mp1
command: ip link set dev eg-mp1 down
ignore_errors: yes
no_log: True
- name: Delete network isolation eg mp1
command: ip link set dev eg-mp1 down
- args:
- chdir: /tmp/remote-platform/
ignore_errors: yes
no_log: True
- name: Delete nnetwork isolation eg mp1 link
command: ip link delete eg-mp1
ignore_errors: yes
no_log: True
- name: Delete nnetwork isolation eg mp1 link
command: ip link delete eg-mp1
- args:
- chdir: /tmp/remote-platform/
ignore_errors: yes
no_log: True
- name: Delete network isolation eg mm5
command: ip link set dev eg-mm5 down
ignore_errors: yes
no_log: True
- name: Delete network isolation eg mm5
command: ip link set dev eg-mm5 down
- args:
- chdir: /tmp/remote-platform/
ignore_errors: yes
no_log: True
- name: Delete network isolation eg mm5 link
command: ip link delete eg-mm5
ignore_errors: yes
no_log: True
- name: Delete network isolation eg mm5 link
command: ip link delete eg-mm5
- args:
- chdir: /tmp/remote-platform/
ignore_errors: yes
no_log: True
- name: Delete network isolation multus rm
ignore_errors: yes
no_log: True
- name: Delete network isolation multus rm
- command: rm /opt/cni/bin/multus
- args:
- chdir: /tmp/remote-platform/
+ command: rm -rf /opt/cni/bin/multus
ignore_errors: yes
no_log: True
- name: Uninstall dns metallb config mep
ignore_errors: yes
no_log: True
- name: Uninstall dns metallb config mep
+ # yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/metallb/config-map.yaml
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/metallb/config-map.yaml
- args:
- chdir: /tmp/eg_mep/deploy/
ignore_errors: yes
no_log: True
- name: Delete dns metallb
ignore_errors: yes
no_log: True
- name: Delete dns metallb
+ # yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/metallb/metallb.yaml
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/metallb/metallb.yaml
- args:
- chdir: /tmp/eg_mep/deploy/
ignore_errors: yes
no_log: True
- name: Delete dns metallb namespace
# yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/metallb/namespace.yaml
ignore_errors: yes
no_log: True
- name: Delete dns metallb namespace
# yamllint disable rule:line-length
command: kubectl delete -f /tmp/eg_mep/deploy/conf/edge/metallb/namespace.yaml
- # yamllint disable rule:line-length
- args:
- chdir: /tmp/eg_mep/deploy/
- ignore_errors: yes
- no_log: True
-
-- name: Delete dns namesapce metallb
- command: kubectl delete secret memberlist -n metallb-system
ignore_errors: yes
no_log: True
ignore_errors: yes
no_log: True