blob: 65c0c2b0b5c7f568593baf1edf50708c687991bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
|