From da278db6a686ae44c4f71f19ff27a399d581c49c Mon Sep 17 00:00:00 2001 From: Arvind Patel Date: Fri, 15 May 2020 16:15:56 +0530 Subject: [PATCH] Added install and uninstall resolved Lint issue Change-Id: I5059a0e504452b059e6096d13cb418453556c54c --- ocd/infra/playbooks/ealt-all-uninstall.yml | 44 ++++++++++++++++++++++++++-- ocd/infra/playbooks/ealt-all.yml | 46 +++++++++++++++++++++++++++++- 2 files changed, 87 insertions(+), 3 deletions(-) diff --git a/ocd/infra/playbooks/ealt-all-uninstall.yml b/ocd/infra/playbooks/ealt-all-uninstall.yml index 47ef75f..4ca3365 100644 --- a/ocd/infra/playbooks/ealt-all-uninstall.yml +++ b/ocd/infra/playbooks/ealt-all-uninstall.yml @@ -13,12 +13,52 @@ # limitations under the License. --- + +- hosts: mecm + become: yes + tags: + - infra + - infra-mecm + + roles: + - grafana + - helm + +- hosts: mep + become: yes + tags: + - infra + - infra-mep + + roles: + - rabbitmq + - cAdvisor + - prometheus + - helm + - k3s + +- hosts: infra-helm + become: yes + tags: + - helm + + roles: + - helm + +- hosts: infra-k8s + become: yes + tags: + - k8s + - infra + + roles: + - k8s + - hosts: infra-k3s - become: true + become: yes tags: - k3s - infra - - mep roles: - k3s diff --git a/ocd/infra/playbooks/ealt-all.yml b/ocd/infra/playbooks/ealt-all.yml index 47ef75f..fc59ff6 100644 --- a/ocd/infra/playbooks/ealt-all.yml +++ b/ocd/infra/playbooks/ealt-all.yml @@ -13,8 +13,19 @@ # limitations under the License. --- + +- hosts: infra-k8s + become: yes + tags: + - k8s + - infra + - mecm + + roles: + - k8s + - hosts: infra-k3s - become: true + become: yes tags: - k3s - infra @@ -22,3 +33,36 @@ roles: - k3s + +- hosts: infra-helm + become: yes + tags: + - helm + + roles: + - helm + +- hosts: mecm + become: yes + tags: + - infra + - infra-mecm + - mecm + + roles: + - helm + - grafana + +- hosts: mep + become: yes + tags: + - infra + - infra-mep + - mep + + roles: + - k3s + - helm + - rabbitmq + - cAdvisor + - prometheus -- 2.16.6