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

Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
pull/11073/head
kyrie 2024-04-09 21:50:39 +08:00 committed by GitHub
parent d58343d201
commit e87040d5ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ reset_restart_network_service_name: >-
{%- else -%}
network
{%- endif -%}
{%- elif ansible_distribution == "Ubuntu" -%}
{%- elif ansible_distribution == "Ubuntu"
or (ansible_distribution == "Debian" and ansible_distribution_major_version | int == 12 ) -%}
systemd-networkd
{%- elif ansible_os_family == "Debian" -%}
networking