Skip to content

Commit

Permalink
Check nameserver when dns is enable (#10561)
Browse files Browse the repository at this point in the history
  • Loading branch information
yckaolalala authored Nov 1, 2023
1 parent 8f0e553 commit cdc8d17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/kubernetes/preinstall/tasks/0020-set_facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
- configured_nameservers is defined
- not (upstream_dns_servers is defined and upstream_dns_servers | length > 0)
- not (disable_host_nameservers | default(false))
- dns_mode in ['coredns', 'coredns_dual']

- name: NetworkManager | Check if host has NetworkManager
# noqa command-instead-of-module - Should we use service_facts for this?
Expand Down

0 comments on commit cdc8d17

Please sign in to comment.