Skip to content
Snippets Groups Projects
Commit f6e4cc53 authored by Smaine Kahlouch's avatar Smaine Kahlouch
Browse files

manage default value for 'peer_with_router' var

parent e85fb046
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@
- name: Calico | Disable node mesh
shell: calicoctl bgp node-mesh off
when: peer_with_router and inventory_hostname in groups['kube-node']
when: peer_with_router is defined and peer_with_router and inventory_hostname in groups['kube-node']
- name: Calico | Configure peering with router(s)
shell: calicoctl node bgp peer add {{ item.router_id }} as {{ item.as }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment