Logs updated 34/3434/3
authorArvind Patel <arvind.patel@huawei.com>
Wed, 13 May 2020 14:20:11 +0000 (19:50 +0530)
committerGaurav Agrawal <gaurav.agrawal@huawei.com>
Fri, 15 May 2020 09:14:22 +0000 (09:14 +0000)
Change-Id: Iaf1d803365a121c1cfaf620ddcc2e028183bb218

ocd/infra/playbooks/roles/cAdvisor/tasks/install.yml
ocd/infra/playbooks/roles/cAdvisor/tasks/uninstall.yml
ocd/infra/playbooks/roles/helm/tasks/install.yml
ocd/infra/playbooks/roles/helm/tasks/uninstall.yml
ocd/infra/playbooks/roles/rabbitmq/tasks/install.yml
ocd/infra/playbooks/roles/rabbitmq/tasks/uninstall.yml

index 73a8b90..f46bcd1 100644 (file)
   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
index 7b7dfce..8a01e80 100644 (file)
@@ -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
 
index cee370f..a138b32 100644 (file)
@@ -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'
 
   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
index 3e25035..979df7e 100644 (file)
@@ -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'
 
index f7ee399..757b616 100644 (file)
   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/
index 3def956..753aea5 100644 (file)
@@ -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