Skip to content

Commit

Permalink
patch verify-settings from upstream kubernetes-sigs/kubespray#10699
Browse files Browse the repository at this point in the history
  • Loading branch information
Dany Kaufman committed Jan 1, 2024
1 parent add6c9e commit cdf825b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions igz_patches/2.23.0/0040-verify-settings.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/roles/kubernetes/preinstall/tasks/0040-verify-settings.yml b/roles/kubernetes/preinstall/tasks/0040-verify-settings.yml
index 8cc11b6..dcf3a8d 100644
--- a/roles/kubernetes/preinstall/tasks/0040-verify-settings.yml
+++ b/roles/kubernetes/preinstall/tasks/0040-verify-settings.yml
@@ -1,7 +1,7 @@
---
- name: Stop if either kube_control_plane or kube_node group is empty
assert:
- that: "groups.get('{{ item }}')"
+ that: "groups.get( item )"
with_items:
- kube_control_plane
- kube_node

0 comments on commit cdf825b

Please sign in to comment.