Skip to content
Snippets Groups Projects
Commit d2b79305 authored by Spencer Smith's avatar Spencer Smith Committed by GitHub
Browse files

Merge pull request #1370 from Abdelsalam-Abbas/master

Fixing a condition that cause upgrade failure. 
parents 5364a100 1a8e92c9
No related branches found
No related tags found
No related merge requests found
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
- set_fact: - set_fact:
needs_cordoning: >- needs_cordoning: >-
{% if " Ready" in kubectl_nodes.stdout %} {% if " Ready" in kubectl_nodes.stdout -%}
true true
{% else %} {%- else -%}
false false
{% endif %} {%- endif %}
- name: Cordon node - name: Cordon node
command: "{{ bin_dir }}/kubectl cordon {{ inventory_hostname }}" command: "{{ bin_dir }}/kubectl cordon {{ inventory_hostname }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment