fix OSPF When check

This commit is contained in:
Boris Zanetti 2017-04-27 08:37:24 +02:00
parent 2cee161e67
commit 68bf1f1837

View file

@ -83,7 +83,7 @@
}'
delegate_to: "{{groups['etcd'][0]}}"
with_items: calico_ospf_peers
when: calico_ospf_peers|length > 0
when: (calico_ospf_peers is defined and calico_ospf_peers|length > 0)
- meta: flush_handlers