From: arvindpatel Date: Wed, 28 Oct 2020 11:10:23 +0000 (+0530) Subject: Uninstall service-center added X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=17512076082f7c89dfb49dbaabdd5c3ad21f0768;p=ealt-edge.git Uninstall service-center added Signed-off-by: arvindpatel Change-Id: Ia7db226c4427438721d7347835bc3a1e7c677bc7 --- diff --git a/ocd/infra/playbooks/roles/service_center/tasks/main.yml b/ocd/infra/playbooks/roles/service_center/tasks/main.yml index a91ab82..a79c680 100644 --- a/ocd/infra/playbooks/roles/service_center/tasks/main.yml +++ b/ocd/infra/playbooks/roles/service_center/tasks/main.yml @@ -20,3 +20,7 @@ - include: "install.yml" static: false when: operation == 'install' + +- include: "uninstall.yml" + static: false + when: operation == 'uninstall' diff --git a/ocd/infra/playbooks/roles/service_center/tasks/uninstall.yml b/ocd/infra/playbooks/roles/service_center/tasks/uninstall.yml new file mode 100644 index 0000000..0f5e128 --- /dev/null +++ b/ocd/infra/playbooks/roles/service_center/tasks/uninstall.yml @@ -0,0 +1,20 @@ +# +# Copyright 2020 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: Uninstall service center + command: helm uninstall service-center-edgegallery