|
|
@ -7,9 +7,9 @@ CALICO_IP6="" |
|
|
|
{% if calico_network_backend is defined %} |
|
|
|
CALICO_NETWORKING_BACKEND="{{calico_network_backend }}" |
|
|
|
{% endif %} |
|
|
|
{% if inventory_hostname in groups['kube-node'] and peer_with_router|default(false)%} |
|
|
|
{% if inventory_hostname in groups['k8s-cluster'] and peer_with_router|default(false)%} |
|
|
|
CALICO_AS="{{ local_as }}" |
|
|
|
{% endif %} |
|
|
|
CALICO_NO_DEFAULT_POOLS="true" |
|
|
|
CALICO_LIBNETWORK_ENABLED="true" |
|
|
|
CALICO_HOSTNAME="{{ inventory_hostname }}" |
|
|
|
CALICO_HOSTNAME="{{ ansible_hostname }}" |