diff --git a/roles/network_plugin/calico/tasks/install.yml b/roles/network_plugin/calico/tasks/install.yml index a8b1267eb..d9a3c9b99 100644 --- a/roles/network_plugin/calico/tasks/install.yml +++ b/roles/network_plugin/calico/tasks/install.yml @@ -582,6 +582,7 @@ - {name: calico, file: calico-ipamconfig.yml, type: ipam} when: - inventory_hostname in groups['kube_control_plane'] + - calico_datastore == "kdd" - name: Calico | Create ipamconfig resources kube: @@ -590,3 +591,4 @@ state: "latest" when: - inventory_hostname == groups['kube_control_plane'][0] + - calico_datastore == "kdd" \ No newline at end of file