Fix warnings about duplicated dns domain in host search line
This commit is contained in:
parent
fc1a1a11da
commit
24e39b50fe
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@
|
||||||
- name: generate search domains to resolvconf
|
- name: generate search domains to resolvconf
|
||||||
set_fact:
|
set_fact:
|
||||||
searchentries:
|
searchentries:
|
||||||
search {{ ([ 'default.svc.' + dns_domain, 'svc.' + dns_domain ] + searchdomains|default([])) | join(' ') }}
|
search {{ searchdomains|default([]) | join(' ') }}
|
||||||
domainentry:
|
domainentry:
|
||||||
domain {{ dns_domain }}
|
domain {{ dns_domain }}
|
||||||
supersede_search:
|
supersede_search:
|
||||||
|
|
Loading…
Reference in a new issue