Commit 4b593716 authored by Pietsch, Martin's avatar Pietsch, Martin

bugfix: /etc/resolv.conf.new not exists

parent d58bc5a6
......@@ -155,6 +155,7 @@
lineinfile:
path: /etc/resolv.conf.new
line: "{{ 'search %s' | format(item.value.dns.domain) }}"
create: yes
when: (item.value.dns | default({})).domain is defined
with_dict: "{{ network.classes }}"
......
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