mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 22:04:43 +03:00
manage default value for 'peer_with_router' var
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
- name: Calico | Disable node mesh
|
- name: Calico | Disable node mesh
|
||||||
shell: calicoctl bgp node-mesh off
|
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)
|
- name: Calico | Configure peering with router(s)
|
||||||
shell: calicoctl node bgp peer add {{ item.router_id }} as {{ item.as }}
|
shell: calicoctl node bgp peer add {{ item.router_id }} as {{ item.as }}
|
||||||
|
|||||||
Reference in New Issue
Block a user