mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-31 14:36:20 -02:30
Replace injected Ansible fact variables in network_plugin role (#13382)
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
- name: Stop if kernel version is too low for Cilium Wireguard encryption
|
||||
assert:
|
||||
that: ansible_kernel.split('-')[0] is version('5.6.0', '>=')
|
||||
that: ansible_facts['kernel'].split('-')[0] is version('5.6.0', '>=')
|
||||
when:
|
||||
- kube_network_plugin == 'cilium' or cilium_deploy_additionally
|
||||
- cilium_encryption_enabled
|
||||
|
||||
Reference in New Issue
Block a user