mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 22:04:43 +03:00
change debian8 network manage service from networking to systemd-networkd (#11058)
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
This commit is contained in:
@@ -11,7 +11,8 @@ reset_restart_network_service_name: >-
|
|||||||
{%- else -%}
|
{%- else -%}
|
||||||
network
|
network
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- elif ansible_distribution == "Ubuntu" -%}
|
{%- elif ansible_distribution == "Ubuntu"
|
||||||
|
or (ansible_distribution == "Debian" and ansible_distribution_major_version | int == 12 ) -%}
|
||||||
systemd-networkd
|
systemd-networkd
|
||||||
{%- elif ansible_os_family == "Debian" -%}
|
{%- elif ansible_os_family == "Debian" -%}
|
||||||
networking
|
networking
|
||||||
|
|||||||
Reference in New Issue
Block a user