X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/ee0707947ed908dfcba302f36dacc330316382d8..a8fa12b9e6826ad3d1abf3a8326508ef7e94f17a:/roles/unbound/tasks/main.yml?ds=sidebyside diff --git a/roles/unbound/tasks/main.yml b/roles/unbound/tasks/main.yml index c53cecb..d8d03e3 100644 --- a/roles/unbound/tasks/main.yml +++ b/roles/unbound/tasks/main.yml @@ -34,3 +34,9 @@ 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 + mode: +x