Allow empty kube_node group (#11248)
While uncommon, provisioning only a control plane is a valid use case, so don't block it.pull/11224/head
parent
d85b29aae1
commit
3082fa3d0f
|
@ -1,10 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Stop if either kube_control_plane or kube_node group is empty
|
- name: Stop if either kube_control_plane or kube_node group is empty
|
||||||
assert:
|
assert:
|
||||||
that: "groups.get( item )"
|
that: groups.get( 'kube_control_plane' )
|
||||||
with_items:
|
|
||||||
- kube_control_plane
|
|
||||||
- kube_node
|
|
||||||
run_once: true
|
run_once: true
|
||||||
when: not ignore_assert_errors
|
when: not ignore_assert_errors
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue