From: Gaurav Agrawal Date: Wed, 28 Oct 2020 12:51:54 +0000 (+0000) Subject: Merge "eg_developer uninstall playbook added" X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=be595f63e0d3a430e578676c4cf638faeae8dbd9;hp=a3590bf8adad4a37823d3e00424cbb963973fb20;p=ealt-edge.git Merge "eg_developer uninstall playbook added" --- diff --git a/ocd/infra/playbooks/roles/eg_developer/tasks/main.yml b/ocd/infra/playbooks/roles/eg_developer/tasks/main.yml index 44573e9..bab0558 100644 --- a/ocd/infra/playbooks/roles/eg_developer/tasks/main.yml +++ b/ocd/infra/playbooks/roles/eg_developer/tasks/main.yml @@ -19,3 +19,7 @@ - include: "install.yml" static: false when: operation == 'install' + +- include: "uninstall.yml" + static: false + when: operation == 'uninstall' diff --git a/ocd/infra/playbooks/roles/eg_developer/tasks/uninstall.yml b/ocd/infra/playbooks/roles/eg_developer/tasks/uninstall.yml new file mode 100644 index 0000000..41caeee --- /dev/null +++ b/ocd/infra/playbooks/roles/eg_developer/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 developer + command: helm uninstall developer-edgegallery