Replace injected Ansible fact variables in node and control-plane roles (#13240)

This commit is contained in:
Nikhil Kumar
2026-06-02 07:34:51 +05:30
committed by GitHub
parent 8b234bf138
commit 2ffff07887
3 changed files with 9 additions and 9 deletions

View File

@@ -5,6 +5,6 @@ dependencies:
user: "{{ addusers.etcd }}"
when:
- etcd_deployment_type == "kubeadm"
- not (ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk", "ClearLinux"] or is_fedora_coreos)
- not (ansible_facts['os_family'] in ["Flatcar", "Flatcar Container Linux by Kinvolk", "ClearLinux"] or is_fedora_coreos)
- role: network_plugin/calico_defaults
- role: etcd_defaults