mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-27 08:31:32 -03:30
According to the canal github[1] the repo is not maintained over 5 years. In addition, the README says ``` Originally, we thought we might more deeply integrate the two projects (possibly even going as far as a rebranding!). However, over time it became clear that that wasn't really necessary to fulfil our goal of making them work well together. Ultimately, we decided to focus on adding features to both projects rather than doing work just to combine them. ``` So it is difficult to support canal by Kubespray at this situation. [1]: https://github.com/projectcalico/canal
20 lines
652 B
YAML
20 lines
652 B
YAML
---
|
|
- name: Macvlan | restart network
|
|
command: /bin/true
|
|
notify:
|
|
- Macvlan | reload network
|
|
when: not ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk"]
|
|
|
|
- name: Macvlan | reload network
|
|
service:
|
|
name: >-
|
|
{% if ansible_os_family == "RedHat" -%}
|
|
network
|
|
{%- elif ansible_distribution == "Ubuntu" and ansible_distribution_release == "bionic" -%}
|
|
systemd-networkd
|
|
{%- elif ansible_os_family == "Debian" -%}
|
|
networking
|
|
{%- endif %}
|
|
state: restarted
|
|
when: not ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk"] and kube_network_plugin not in ['calico']
|