diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index 847c7be88d071b53ef02f1e15b7b07aa6800efe0..351f08a2b4a0331883b7638a4575d255fb90a210 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 }}"