Allow empty kube_node group (#11248)

While uncommon, provisioning only a control plane is a valid use case,
so don't block it.
This commit is contained in:
Max Gautier
2024-05-30 10:01:38 +00:00
committed by GitHub
parent d85b29aae1
commit 3082fa3d0f

View File

@ -1,10 +1,7 @@
---
- name: Stop if either kube_control_plane or kube_node group is empty
assert:
that: "groups.get( item )"
with_items:
- kube_control_plane
- kube_node
that: groups.get( 'kube_control_plane' )
run_once: true
when: not ignore_assert_errors