Skip to content
Snippets Groups Projects
Commit 1a8e92c9 authored by Abdelsalam Abbas's avatar Abdelsalam Abbas
Browse files

Fixing cordoning condition that cause fail for upgrading the cluster

parent 5364a100
Branches
Tags
No related merge requests found
......@@ -7,11 +7,11 @@
- set_fact:
needs_cordoning: >-
{% if " Ready" in kubectl_nodes.stdout %}
{% if " Ready" in kubectl_nodes.stdout -%}
true
{% else %}
{%- else -%}
false
{% endif %}
{%- endif %}
- name: Cordon node
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