X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fiotgateway%2Fplaybooks%2Froles%2Fel_edgex%2Ftasks%2Funinstall.yml;fp=blueprints%2Fiotgateway%2Fplaybooks%2Froles%2Fel_edgex%2Ftasks%2Funinstall.yml;h=753ff5748c5aa50b1113a0a1afeaa8f41a4fe724;hb=c1535a4975fd381d762cea814515673938feae71;hp=0000000000000000000000000000000000000000;hpb=233fedcbae7166783277ed538d454b106b9d52ae;p=eliot.git diff --git a/blueprints/iotgateway/playbooks/roles/el_edgex/tasks/uninstall.yml b/blueprints/iotgateway/playbooks/roles/el_edgex/tasks/uninstall.yml new file mode 100644 index 0000000..753ff57 --- /dev/null +++ b/blueprints/iotgateway/playbooks/roles/el_edgex/tasks/uninstall.yml @@ -0,0 +1,25 @@ +# +# Copyright 2021 Huawei Technologies Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +--- + +- name: Undeploy edgex + shell: + cmd: kubectl delete -k . + # yamllint disable rule:line-length + chdir: /tmp/el_edgex/deploy/edgex-kubernetes-support/releases/edinburgh/kubernetes + # yamllint disable rule:line-length + ignore_errors: yes