mirror of https://github.com/easzlab/kubeasz.git
fix: ubuntu 20.04安装集群dns问题 #970
parent
ce0e0b06a9
commit
a20c5dcea4
|
@ -65,7 +65,7 @@ podPidsLimit: -1
|
|||
port: 10250
|
||||
# disable readOnlyPort
|
||||
readOnlyPort: 0
|
||||
{% if ansible_distribution_release == "bionic" %}
|
||||
{% if ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int > 16 %}
|
||||
resolvConf: /run/systemd/resolve/resolv.conf
|
||||
{% else %}
|
||||
resolvConf: /etc/resolv.conf
|
||||
|
|
Loading…
Reference in New Issue