change debian8 network manage service from networking to systemd-networkd (#11058)

Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
This commit is contained in:
kyrie
2024-04-09 21:50:39 +08:00
committed by GitHub
parent d58343d201
commit e87040d5ba

View File

@@ -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