update to latest 2.26.0 kubespray version and add dns zones settings to coredns
This commit is contained in:
@@ -6,12 +6,13 @@ 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 is_fedora_coreos or ansible_distribution in ["Fedora", "Kylin Linux Advanced Server", "TencentOS"] -%}
|
||||
NetworkManager
|
||||
{%- 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
|
||||
|
||||
Reference in New Issue
Block a user