Skip to content
Snippets Groups Projects
Unverified Commit ac4d7829 authored by Brad Beam's avatar Brad Beam Committed by GitHub
Browse files

Merge pull request #2074 from fangzhen/fix-domains-split

Make spliting system_search_domains more robust
parents 2df4b6c5 91d848f9
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment