Browse Source

Check nameserver when dns is enable (#10561)

pull/10582/head
yun 1 year ago
committed by GitHub
parent
commit
cdc8d17d0b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes/preinstall/tasks/0020-set_facts.yml

1
roles/kubernetes/preinstall/tasks/0020-set_facts.yml

@ -91,6 +91,7 @@
- configured_nameservers is defined - configured_nameservers is defined
- not (upstream_dns_servers is defined and upstream_dns_servers | length > 0) - not (upstream_dns_servers is defined and upstream_dns_servers | length > 0)
- not (disable_host_nameservers | default(false)) - not (disable_host_nameservers | default(false))
- dns_mode in ['coredns', 'coredns_dual']
- name: NetworkManager | Check if host has NetworkManager - name: NetworkManager | Check if host has NetworkManager
# noqa command-instead-of-module - Should we use service_facts for this? # noqa command-instead-of-module - Should we use service_facts for this?

Loading…
Cancel
Save