Browse Source
Argument jsonpath must be single-quoted in "See if node is schedulable" task (#9146)
pull/9155/head
emiran-orange
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/upgrade/pre-upgrade/tasks/main.yml
|
|
@ -30,7 +30,7 @@ |
|
|
|
- name: See if node is schedulable |
|
|
|
command: > |
|
|
|
{{ kubectl }} get node {{ kube_override_hostname|default(inventory_hostname) }} |
|
|
|
-o jsonpath={ .spec.unschedulable } |
|
|
|
-o jsonpath='{ .spec.unschedulable }' |
|
|
|
register: kubectl_node_schedulable |
|
|
|
delegate_to: "{{ groups['kube_control_plane'][0] }}" |
|
|
|
failed_when: false |
|
|
|