Replace injected Ansible fact variables in network_plugin role (#13382)

This commit is contained in:
Nikhil Kumar
2026-08-16 14:24:17 +00:00
committed by GitHub
parent ddd9ae131b
commit bf077e7360
8 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
- name: Flannel | Stop if kernel version is too low for Flannel 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 == 'flannel'
- flannel_backend_type == 'wireguard'