--- - 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