summaryrefslogtreecommitdiff
path: root/roles/ddns.notyet/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ddns.notyet/tasks/main.yml')
-rw-r--r--roles/ddns.notyet/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/ddns.notyet/tasks/main.yml b/roles/ddns.notyet/tasks/main.yml
new file mode 100644
index 0000000..63caa0c
--- /dev/null
+++ b/roles/ddns.notyet/tasks/main.yml
@@ -0,0 +1,11 @@
+---
+- include_vars: vars/vault.yml
+
+- name: install dns utilities
+ apt: name=dnsutils state=latest
+
+- name: install jq
+ apt: name=jq state=latest
+
+- name: schedule periodic updates of dns entry
+ template: src=update-dns.j2 dest=/etc/cron.daily/update-dns