You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
609 B

  1. ETCD_ENDPOINTS="{{ etcd_access_endpoint }}"
  2. ETCD_CA_CERT_FILE="{{ calico_cert_dir }}/ca_cert.crt"
  3. ETCD_CERT_FILE="{{ calico_cert_dir }}/cert.crt"
  4. ETCD_KEY_FILE="{{ calico_cert_dir }}/key.pem"
  5. CALICO_IP="{{ip | default(ansible_default_ipv4.address) }}"
  6. CALICO_IP6=""
  7. {% if calico_network_backend is defined %}
  8. CALICO_NETWORKING_BACKEND="{{calico_network_backend }}"
  9. {% endif %}
  10. {% if inventory_hostname in groups['k8s-cluster'] and peer_with_router|default(false)%}
  11. CALICO_AS="{{ local_as }}"
  12. {% endif %}
  13. CALICO_NO_DEFAULT_POOLS="true"
  14. CALICO_LIBNETWORK_ENABLED="true"
  15. CALICO_HOSTNAME="{{ ansible_hostname }}"