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

Argument jsonpath must be single-quoted in "See if node is schedulable" task (#9146)

parent f7d363dc
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
- name: See if node is schedulable - name: See if node is schedulable
command: > command: >
{{ kubectl }} get node {{ kube_override_hostname|default(inventory_hostname) }} {{ kubectl }} get node {{ kube_override_hostname|default(inventory_hostname) }}
-o jsonpath={ .spec.unschedulable } -o jsonpath='{ .spec.unschedulable }'
register: kubectl_node_schedulable register: kubectl_node_schedulable
delegate_to: "{{ groups['kube_control_plane'][0] }}" delegate_to: "{{ groups['kube_control_plane'][0] }}"
failed_when: false failed_when: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment