diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index 847c7be88..351f08a2b 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -783,7 +783,7 @@ downloads: - k8s-cluster calico_policy: - enabled: "{{ enable_network_policy or kube_network_plugin == 'canal' }}" + enabled: "{{ enable_network_policy and kube_network_plugin in ['calico', 'canal'] }}" container: true repo: "{{ calico_policy_image_repo }}" tag: "{{ calico_policy_image_tag }}"