Commit 609b4707 authored by nanahira's avatar nanahira

fix

parent 75ed7da6
......@@ -8,9 +8,15 @@
# nameserver {{ br.address | regex_replace("/\d+$", "") }}
{% endif %}
{% endfor %}
{% if smartdns.external is defined and smartdns.external %}
{% for dns in smartdns.external %}
nameserver {{ dns }}
{% endfor %}
{% else %}
{% for dns in smartdns.china_dns %}
nameserver {{dns}}
{% endfor %}
{% endif %}
dest: /etc/resolv.conf
#- name: read docker daemon
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment