Skip to content

Commit

Permalink
fix due to review
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Arendt committed Jul 31, 2020
1 parent e1219af commit fe6d998
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit fe6d998

Please sign in to comment.