From fe6d998d6e9aadbf92c875b5643c8ce3fb313e35 Mon Sep 17 00:00:00 2001 From: Tomasz Arendt Date: Fri, 31 Jul 2020 10:23:36 +0200 Subject: [PATCH] fix due to review --- .../upgrade/tasks/kubernetes/reconfigure-rabbitmq-app.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/src/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/kubernetes/reconfigure-rabbitmq-app.yml b/core/src/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/kubernetes/reconfigure-rabbitmq-app.yml index 07f654c2ac..62b529aec2 100644 --- a/core/src/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/kubernetes/reconfigure-rabbitmq-app.yml +++ b/core/src/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/kubernetes/reconfigure-rabbitmq-app.yml @@ -52,9 +52,7 @@ - name: upgrade-master | Get rabbitmq pod names environment: KUBECONFIG: /home/{{ admin_user.name }}/.kube/config - shell: |- - set -o pipefail && - kubectl get pod -n {{ rabbit_mq_namespace.stdout }} -o=jsonpath='{range .items[*]}{.metadata.name}{"\n"}' + shell: kubectl get pod -n {{ rabbit_mq_namespace.stdout }} -o=jsonpath='{range .items[*]}{.metadata.name}{"\n"}' changed_when: false register: rabbit_mq_pod_names args: @@ -64,9 +62,7 @@ - name: upgrade-master | Delete rabbitmq pods environment: KUBECONFIG: /home/{{ admin_user.name }}/.kube/config - shell: |- - set -o pipefail && - kubectl delete pod --namespace {{ rabbit_mq_namespace.stdout }} {{ item }} + shell: kubectl delete pod --namespace {{ rabbit_mq_namespace.stdout }} {{ item }} changed_when: false args: executable: /bin/bash