summaryrefslogtreecommitdiff
path: root/chaos-at-home/mz-router.yml
diff options
context:
space:
mode:
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 }}"