diff --git a/roles/network_plugin/calico/tasks/pre.yml b/roles/network_plugin/calico/tasks/pre.yml index 08809d3e358..33bdd316e83 100644 --- a/roles/network_plugin/calico/tasks/pre.yml +++ b/roles/network_plugin/calico/tasks/pre.yml @@ -12,7 +12,7 @@ - name: Set fact calico_datastore to etcd if needed set_fact: calico_datastore: etcd - when: + when: - "'plugins' in calico_cni_config" - "'etcd_endpoints' in calico_cni_config.plugins.0" when: calico_cni_config_slurp.content is defined