Skip to content
Snippets Groups Projects
Unverified Commit 3782573e authored by emiran-orange's avatar emiran-orange Committed by GitHub
Browse files

Single quotes are missing in jsonpath argument of kubectl get node (#8683)

parent bba91a75
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
- name: See if node is in ready state
command: >
{{ kubectl }} get node {{ kube_override_hostname|default(inventory_hostname) }}
-o jsonpath={ range .status.conditions[?(@.type == "Ready")].status }{ @ }{ end }
-o jsonpath='{ range .status.conditions[?(@.type == "Ready")].status }{ @ }{ end }'
register: kubectl_node_ready
delegate_to: "{{ groups['kube_control_plane'][0] }}"
failed_when: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment