summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-mz-router.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-09-01 14:50:55 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-09-01 14:50:55 +0200
commit629fa3398d7d4344204ce0cab79a35e05773e726 (patch)
tree0b18e79147abc4218287410a2bfb175642507497 /chaos-at-home/ch-mz-router.yml
parentprometheus remote-write: refactor config to force naming destinations (diff)
rename mz-* to ch-mz-* and streamline installation
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