diff --git a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml index 6ff736622..928e34dc4 100644 --- a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml +++ b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml @@ -81,7 +81,7 @@ msg: "Do not schedule more pods on a node than inet addresses are available." ignore_errors: "{{ ignore_assert_errors }}" when: - - inventory_hostname in groups['kube-node'] + - inventory_hostname in groups['k8s-cluster'] - kube_network_node_prefix is defined - name: Stop if ip var does not match local ips