diff --git a/roles/kubernetes-apps/policy_controller/meta/main.yml b/roles/kubernetes-apps/policy_controller/meta/main.yml index a1050cc19..3f46b8d58 100644 --- a/roles/kubernetes-apps/policy_controller/meta/main.yml +++ b/roles/kubernetes-apps/policy_controller/meta/main.yml @@ -2,15 +2,7 @@ dependencies: - role: policy_controller/calico when: - - kube_network_plugin == 'calico' + - kube_network_plugin in ['calico', 'canal'] - enable_network_policy - - calico_datastore != "kdd" - tags: - - policy-controller - - - role: policy_controller/calico - when: - - kube_network_plugin == 'canal' - - calico_datastore != "kdd" tags: - policy-controller