summaryrefslogtreecommitdiff
path: root/chaos-at-home/mz-router.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-04-20 23:14:05 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-04-20 23:14:05 +0200
commitaa8041c8b9aa5696a374ccc5c75245a1ce6ea695 (patch)
tree1838d1d5e1191d5a2d6bccfcd46a08389c5c8c7b /chaos-at-home/mz-router.yml
parentchange default port for mz zone (diff)
mz-router: added dyndns
Diffstat (limited to 'chaos-at-home/mz-router.yml')
-rw-r--r--chaos-at-home/mz-router.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chaos-at-home/mz-router.yml b/chaos-at-home/mz-router.yml
index 7adc9b6a..2095632e 100644
--- a/chaos-at-home/mz-router.yml
+++ b/chaos-at-home/mz-router.yml
@@ -4,3 +4,11 @@
roles:
- role: openwrt/image
delegate_to: localhost
+
+ post_tasks:
+ - pause:
+ prompt: "\n****** copy and install image onto router and wait for it to come back ******\n"
+
+ - shell: "base64 -d | ssh chmz-router \"/bin/sh -c 'umask 077; cat > /etc/dyndns/id_rsa'\""
+ args:
+ stdin: "{{ vault_dyndns_ssh_key_b64 }}"