Files
kubespray/roles/network_plugin/macvlan/handlers/main.yml
T
Max Gautier 6aee13b285 Remove support and CI for EOL Debian 11 (#13483)
- 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
2026-09-08 10:30:31 +00:00

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