Skip to content
Unverified Commit d173f1d9 authored by Max Gautier's avatar Max Gautier Committed by GitHub
Browse files

Only consider host in 'k8s_cluster' when checking if ip is a cached fact (#11817)

This avoids spurious failure with 'localhost'.

It should also be more correct the inventory contains uncached hosts
which are not in `k8s_cluster` and therefore should not be Kubespray
business.

(We still use hostvars for uncached hosts, because it's easier to select
on 'ansible_default_ipv4' that way and does not change the end result)
parent 91ad58a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment