Browse Source
change debian8 network manage service from networking to systemd-networkd (#11058)
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
pull/11073/head
kyrie
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
roles/reset/defaults/main.yml
|
|
@ -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 |
|
|
|