add script to continuously check DNS settings
[ansible.git] / roles / unbound / tasks / main.yml
index c53cecb2312a71025e1a2f8096ab93fed7f3cb91..988517f4acd6deeddda51c42011ec57a5714ddaa 100644 (file)
@@ -34,3 +34,8 @@
   copy:
     dest: /etc/resolv.conf
     content: "nameserver 127.0.0.2\n"
+# some providers need extra hacks to make our DNS persistent
+- name: install DNS-fix cronjob
+  template:
+    dest: /etc/cron.hourly/fix-dns
+    src: templates/fix-dns