X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fiotgateway%2Fplaybooks%2Froles%2Fgrafana%2Ftasks%2Funinstall.yml;fp=blueprints%2Fiotgateway%2Fplaybooks%2Froles%2Fgrafana%2Ftasks%2Funinstall.yml;h=93a5be0121bfe8a35d6fbf927c3a513d9d0d13af;hb=233fedcbae7166783277ed538d454b106b9d52ae;hp=6f08c57dbcbc052ffcddc6e23a8b03351561596b;hpb=8d3b452ed742e3b9e3e7e5ed9633038437fbdca9;p=eliot.git diff --git a/blueprints/iotgateway/playbooks/roles/grafana/tasks/uninstall.yml b/blueprints/iotgateway/playbooks/roles/grafana/tasks/uninstall.yml index 6f08c57..93a5be0 100644 --- a/blueprints/iotgateway/playbooks/roles/grafana/tasks/uninstall.yml +++ b/blueprints/iotgateway/playbooks/roles/grafana/tasks/uninstall.yml @@ -15,7 +15,7 @@ --- - name: check if grafana is installed before deleting shell: - cmd: helm status mec-grafana + cmd: helm status grafana register: result ignore_errors: yes no_log: True @@ -28,7 +28,12 @@ msg: Ignore Uninstall Log , Grafana not installed when: result.stdout == "" -- name: Uninstall grafana +- name: Uninstall grafana on arm shell: - cmd: helm uninstall mec-grafana - when: result is succeeded + cmd: helm uninstall grafana + when: result is succeeded and ansible_architecture == 'aarch64' + +- name: Uninstall grafana on x86 + shell: + cmd: helm uninstall grafana + when: result is succeeded and ansible_architecture == 'x86_64'