mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
fix reset network for tencent OS (#11459)
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
This commit is contained in:
@@ -6,7 +6,7 @@ reset_restart_network_service_name: >-
|
||||
{% if ansible_os_family == "RedHat" -%}
|
||||
{%-
|
||||
if ansible_distribution_major_version | int >= 8
|
||||
or is_fedora_coreos or ansible_distribution == "Fedora" or ansible_distribution == "Kylin Linux Advanced Server" -%}
|
||||
or is_fedora_coreos or ansible_distribution in ["Fedora", "Kylin Linux Advanced Server", "TencentOS"] -%}
|
||||
NetworkManager
|
||||
{%- else -%}
|
||||
network
|
||||
|
||||
Reference in New Issue
Block a user