diff --git a/roles/network_plugin/calico/handlers/main.yml b/roles/network_plugin/calico/handlers/main.yml
index 75fe2296c84a517cf38d42b38ee7f85a76c35540..696729a24f3457fd3eeae41aad52b5ec3cf07cf2 100644
--- a/roles/network_plugin/calico/handlers/main.yml
+++ b/roles/network_plugin/calico/handlers/main.yml
@@ -1,6 +1,7 @@
 ---
 - name: reset_calico_cni
   command: /bin/true
+  when: calico_cni_config is defined
   notify:
     - delete 10-calico.conflist
     - docker | delete calico-node containers