change debian8 network manage service from networking to systemd-networkd (#11058)
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>pull/11073/head
parent
d58343d201
commit
e87040d5ba
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue