summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-mz-router.yml
diff options
context:
space:
mode:
Diffstat (limited to 'chaos-at-home/ch-mz-router.yml')
-rw-r--r--chaos-at-home/ch-mz-router.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/chaos-at-home/ch-mz-router.yml b/chaos-at-home/ch-mz-router.yml
new file mode 100644
index 00000000..65c0c2b0
--- /dev/null
+++ b/chaos-at-home/ch-mz-router.yml
@@ -0,0 +1,15 @@
+---
+- name: Basic Setup
+ hosts: ch-mz-router
+ connection: local
+ gather_facts: no
+ roles:
+ - role: installer/openwrt/image
+ post_tasks:
+ - pause:
+ prompt: |
+ * scp -O {{ output_images[0] }} ch-mz-router:/tmp/openwrt.bin
+ * ssh ch-mz-router sysupgrade -n /tmp/openwrt.bin
+ * ssh ch-mz-router dropbearkey -t ed25519 -f /etc/dyndns/id_ed25519
+ replace the key at the dyndns server (ch-pan: /var/lib/dyndns/.ssh/authorized_keys)
+ after that run the dyndns update script manually to accept the ssh host-key