mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-29 22:03:22 -02:30
- also remove macvlan on debian support since the role works neither on debian 12 nor 13 - macvlan is no longer tested in CI as it does not work on rockylinux10 either
14 lines
505 B
YAML
14 lines
505 B
YAML
---
|
|
- name: Macvlan | reload network
|
|
service:
|
|
# noqa: jinja[spacing]
|
|
name: >-
|
|
{% if ansible_facts['os_family'] == "RedHat" -%}
|
|
network
|
|
{%- elif ansible_facts['distribution'] == "Ubuntu" and ansible_facts['distribution_release'] == "bionic" -%}
|
|
systemd-networkd
|
|
{%- endif %}
|
|
state: restarted
|
|
when: not ansible_facts['os_family'] in ["Flatcar", "Flatcar Container Linux by Kinvolk"] and kube_network_plugin not in ['calico']
|
|
listen: Macvlan | restart network
|