Inflexdb fixes host seperated 74/3974/1
authorarvind.patel@huawei.com <arvind.patel@huawei.com>
Mon, 7 Dec 2020 11:21:24 +0000 (16:51 +0530)
committerarvind.patel@huawei.com <arvind.patel@huawei.com>
Mon, 7 Dec 2020 11:21:24 +0000 (16:51 +0530)
Signed-off-by: arvind.patel@huawei.com <arvind.patel@huawei.com>
Change-Id: I3d13b505a33b960561ab3506d77f7685e199ef29

ocd/infra/playbooks/ealt-all-uninstall.yml
ocd/infra/playbooks/ealt-all.yml
ocd/infra/playbooks/ealt-inventory.ini
ocd/infra/playbooks/roles/influxdb/tasks/install.yml
ocd/infra/playbooks/roles/influxdb/tasks/uninstall.yml
ocd/infra/playbooks/roles/openebsrole/tasks/install.yml
ocd/infra/playbooks/roles/openebsrole/tasks/uninstall.yml

index fb65e7e..c58298e 100644 (file)
     - influxdb
     - openebsrole
 
+### Storage ###
+
+- hosts: openebsinfluxdb
+  become: yes
+  tags:
+    - ealt_ebs_influx
+    - edge
+
+  roles:
+    - influxdb
+    - openebsrole
+
 ### Pre-Requisites ###
 
 - hosts: prerequisiteedge
index e92468c..296ad58 100644 (file)
     - kubeconfig
     - mepkubeconfig
     - cadvisor
-    - influxdb
-    - openebsrole
 
 ### EdgeGallery related ###
 
     - eg_set-helm-repo
     - eg_mep
     - eg_mecm-mepm
+
+### Storage ###
+
+- hosts: openebsinfluxdb
+  become: yes
+  tags:
+    - ealt_ebs_influx
+    - edge
+
+  roles:
+    - influxdb
+    - openebsrole
index d0d3792..72e1390 100644 (file)
@@ -55,3 +55,6 @@ edge
 
 [egedge:children]
 edge
+
+[openebsinfluxdb:children]
+edge
index bdffd3b..c0c856d 100644 (file)
 - name: "INSTALL: Install influxdata by helm charts"
   shell:
     cmd: helm repo add influxdata https://influxdata.github.io/helm-charts
+  ignore_errors: yes
+  no_log: True
 
 - name: "INSTALL: Deploye influxdata"
   shell:
     cmd: helm upgrade -i influxdb influxdata/influxdb --set image.tag=1.8.0
+  ignore_errors: yes
+  no_log: True
index 94aa886..b8fa456 100644 (file)
@@ -19,3 +19,5 @@
 - name: Uninstalling influxdb
   shell:
     cmd: helm uninstall influxdb
+  ignore_errors: yes
+  no_log: True
index 6a15fab..b34d108 100644 (file)
 - name: "create namespace openebs"
   shell:
     cmd: kubectl create ns openebs
+  ignore_errors: yes
+  no_log: True
 
 - name: "INSTALL: add helm repo add aarch64"
   shell:
     cmd: helm repo add openebs https://openebs.github.io/charts
+  ignore_errors: yes
+  no_log: True
 
 - name: "INSTALL: helm repo update aarch64"
   shell:
     cmd: helm repo update
+  ignore_errors: yes
+  no_log: True
 
 - name: "INSTALL: Install on Openebs aarch64"
   shell:
-  cmd: helm install --namespace openebs  --generate-name openebs --version 2.3.0
+  # yamllint disable rule:line-length
+    cmd: helm install --namespace openebs  --generate-name openebs --version 2.3.0
+  ignore_errors: yes
+  no_log: True
index 5d8ef9a..61f6548 100644 (file)
@@ -19,3 +19,5 @@
 - name: Uninstall openebs
   shell:
     cmd: kubectl delete ns openebs
+  ignore_errors: yes
+  no_log: True