kubespray 2.24 추가
This commit is contained in:
18
roles/reset/defaults/main.yml
Normal file
18
roles/reset/defaults/main.yml
Normal file
@@ -0,0 +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