mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Add a way to configure reseted networking service name. (#10428)
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
---
|
||||
flush_iptables: true
|
||||
reset_restart_network: true
|
||||
|
||||
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" -%}
|
||||
NetworkManager
|
||||
{%- else -%}
|
||||
network
|
||||
{%- endif -%}
|
||||
{%- elif ansible_distribution == "Ubuntu" -%}
|
||||
systemd-networkd
|
||||
{%- elif ansible_os_family == "Debian" -%}
|
||||
networking
|
||||
{%- endif %}
|
||||
|
||||
Reference in New Issue
Block a user