From 9f74e23876b3421fa578246e8b3836aeefd81816 Mon Sep 17 00:00:00 2001 From: Arvind Patel Date: Wed, 13 May 2020 19:50:11 +0530 Subject: [PATCH] Logs updated Change-Id: Iaf1d803365a121c1cfaf620ddcc2e028183bb218 --- ocd/infra/playbooks/roles/cAdvisor/tasks/install.yml | 6 +++--- ocd/infra/playbooks/roles/cAdvisor/tasks/uninstall.yml | 2 +- ocd/infra/playbooks/roles/helm/tasks/install.yml | 10 +++++----- ocd/infra/playbooks/roles/helm/tasks/uninstall.yml | 4 ++-- ocd/infra/playbooks/roles/rabbitmq/tasks/install.yml | 8 ++++---- ocd/infra/playbooks/roles/rabbitmq/tasks/uninstall.yml | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/ocd/infra/playbooks/roles/cAdvisor/tasks/install.yml b/ocd/infra/playbooks/roles/cAdvisor/tasks/install.yml index 73a8b90..f46bcd1 100644 --- a/ocd/infra/playbooks/roles/cAdvisor/tasks/install.yml +++ b/ocd/infra/playbooks/roles/cAdvisor/tasks/install.yml @@ -19,11 +19,11 @@ register: result ignore_errors: 'True' -- name: "This is for Add repo helm " +- name: "Add helm repo" command: helm repo add code-chris https://code-chris.github.io/helm-charts when: result is failed -- name: "This is for Update helm repo" +- name: "Update helm repo" command: helm repo update when: result is failed @@ -33,7 +33,7 @@ dest: /tmp/cAdvisor/ when: result is failed -- name: "Command for install cAdvisor" +- name: "Installing cAdvisor" # yamllint disable rule:line-length command: helm install cadvisor code-chris/cadvisor -f /tmp/cAdvisor/values.yaml # yamllint disable rule:line-length diff --git a/ocd/infra/playbooks/roles/cAdvisor/tasks/uninstall.yml b/ocd/infra/playbooks/roles/cAdvisor/tasks/uninstall.yml index 7b7dfce..8a01e80 100644 --- a/ocd/infra/playbooks/roles/cAdvisor/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/cAdvisor/tasks/uninstall.yml @@ -20,7 +20,7 @@ register: result ignore_errors: 'True' -- name: "Go to helm ls" +- name: "If cAdvisor present, then list helm ls" command: helm ls when: result is succeeded diff --git a/ocd/infra/playbooks/roles/helm/tasks/install.yml b/ocd/infra/playbooks/roles/helm/tasks/install.yml index cee370f..a138b32 100644 --- a/ocd/infra/playbooks/roles/helm/tasks/install.yml +++ b/ocd/infra/playbooks/roles/helm/tasks/install.yml @@ -26,7 +26,7 @@ command: tar -zxvf helm-v3.0.2-linux-amd64.tar.gz when: result is failed and ansible_architecture == 'x86_64' -- name: "Move to bin folder on x86_64" +- name: "Helm move to bin folder on x86_64" command: mv linux-amd64/helm /usr/local/bin/ when: result is failed and ansible_architecture == 'x86_64' @@ -38,20 +38,20 @@ command: tar -zxvf helm-v3.0.2-linux-arm64.tar.gz when: result is failed and ansible_architecture == 'aarch64' -- name: "Move to bin folder on aarch64" +- name: "Helm move to bin folder on aarch64" command: mv linux-arm64/helm /usr/local/bin/ when: result is failed and ansible_architecture == 'aarch64' -- name: "Add repo" +- name: "Add helm repo" # yamllint disable rule:line-length command: helm repo add stable https://kubernetes-charts.storage.googleapis.com/ # yamllint disable rule:line-length when: result is failed -- name: "update repo" +- name: "Updated helm repo" command: helm repo update when: result is failed -- name: "list repo" +- name: "List helm repo" command: helm repo list when: result is failed diff --git a/ocd/infra/playbooks/roles/helm/tasks/uninstall.yml b/ocd/infra/playbooks/roles/helm/tasks/uninstall.yml index 3e25035..979df7e 100644 --- a/ocd/infra/playbooks/roles/helm/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/helm/tasks/uninstall.yml @@ -22,7 +22,7 @@ command: rm -rf linux-amd64/helm when: result is succeeded and ansible_architecture == 'x86_64' -- name: Remove download file on x86_64 +- name: Remove download helm file on x86_64 command: rm ~/helm-v3.0.2-linux-amd64.tar.gz when: result is succeeded and ansible_architecture == 'x86_64' @@ -30,7 +30,7 @@ command: rm -rf linux-arm64/helm when: result is succeeded and ansible_architecture == 'aarch64' -- name: Remove download file on aarch64 +- name: Remove download helm file on aarch64 command: rm helm-v3.0.2-linux-arm64.tar.gz when: result is succeeded and ansible_architecture == 'aarch64' diff --git a/ocd/infra/playbooks/roles/rabbitmq/tasks/install.yml b/ocd/infra/playbooks/roles/rabbitmq/tasks/install.yml index f7ee399..757b616 100644 --- a/ocd/infra/playbooks/roles/rabbitmq/tasks/install.yml +++ b/ocd/infra/playbooks/roles/rabbitmq/tasks/install.yml @@ -19,18 +19,18 @@ register: result ignore_errors: true -- name: copy common folder to host +- name: copy common folder to host for rabbitmg installation copy: src: common dest: /tmp/rabbitmq/ when: result is failed -- name: Install common +- name: Install common for rabbitmg installation shell: cmd: kubectl apply -f /tmp/rabbitmq/common when: result is failed -- name: copy statefulset_x86.yaml to host +- name: copy statefulset_x86.yaml to host for rabbitmg installation copy: src: statefulset_x86.yaml dest: /tmp/rabbitmq/ @@ -41,7 +41,7 @@ cmd: kubectl apply -f /tmp/rabbitmq/statefulset_x86.yaml when: result is failed and ansible_architecture == 'x86_64' -- name: copy statefulset_arm.yaml to host +- name: copy statefulset_arm.yaml to host for rabbitmg installation copy: src: statefulset_arm.yaml dest: /tmp/rabbitmq/ diff --git a/ocd/infra/playbooks/roles/rabbitmq/tasks/uninstall.yml b/ocd/infra/playbooks/roles/rabbitmq/tasks/uninstall.yml index 3def956..753aea5 100644 --- a/ocd/infra/playbooks/roles/rabbitmq/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/rabbitmq/tasks/uninstall.yml @@ -19,7 +19,7 @@ register: result ignore_errors: true -- name: Uninstall rabbitmq +- name: Uninstalling rabbitmq shell: cmd: kubectl delete -f /tmp/rabbitmq/common when: result is succeeded -- 2.16.6