summaryrefslogtreecommitdiff
path: root/roles/ddns.notyet/tasks/main.yml
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2017-12-03 22:47:13 -0800
committerJakob Odersky <jakob@odersky.com>2017-12-03 22:47:13 -0800
commitdf6be44d67e29d73b0f226985c2c7b6ec989c224 (patch)
tree590198484d5322042c2d0ef38bc4eeb1c71412ae /roles/ddns.notyet/tasks/main.yml
downloadmetamorphic-df6be44d67e29d73b0f226985c2c7b6ec989c224.tar.gz
metamorphic-df6be44d67e29d73b0f226985c2c7b6ec989c224.tar.bz2
metamorphic-df6be44d67e29d73b0f226985c2c7b6ec989c224.zip
Initial commitHEADmaster
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