Browse Source
Merge pull request #2074 from fangzhen/fix-domains-split
Make spliting system_search_domains more robust
pull/2223/head
Brad Beam
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/docker/tasks/set_facts_dns.yml
|
|
@ -49,7 +49,7 @@ |
|
|
|
|
|
|
|
- name: add system search domains to docker options |
|
|
|
set_fact: |
|
|
|
docker_dns_search_domains: "{{ docker_dns_search_domains | union(system_search_domains.stdout.split(' ')|default([])) | unique }}" |
|
|
|
docker_dns_search_domains: "{{ docker_dns_search_domains | union(system_search_domains.stdout.split()|default([])) | unique }}" |
|
|
|
when: system_search_domains.stdout != "" |
|
|
|
|
|
|
|
- name: check number of nameservers |
|
|
|