From 629fa3398d7d4344204ce0cab79a35e05773e726 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 1 Sep 2024 14:50:55 +0200 Subject: rename mz-* to ch-mz-* and streamline installation --- chaos-at-home/ch-mz-router.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 chaos-at-home/ch-mz-router.yml (limited to 'chaos-at-home/ch-mz-router.yml') 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 -- cgit v1.2.3