Fix warnings about duplicated dns domain in host search line

This commit is contained in:
Tennis Smith 2017-10-01 19:34:44 -05:00
parent fc1a1a11da
commit 24e39b50fe

View file

@ -82,7 +82,7 @@
- name: generate search domains to resolvconf
set_fact:
searchentries:
search {{ ([ 'default.svc.' + dns_domain, 'svc.' + dns_domain ] + searchdomains|default([])) | join(' ') }}
search {{ searchdomains|default([]) | join(' ') }}
domainentry:
domain {{ dns_domain }}
supersede_search: