Browse Source

manage default value for 'peer_with_router' var

pull/11/head
Smaine Kahlouch 9 years ago
parent
commit
f6e4cc530c
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/network_plugin/tasks/calico.yml

2
roles/network_plugin/tasks/calico.yml

@ -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 }}

Loading…
Cancel
Save