From aa8041c8b9aa5696a374ccc5c75245a1ce6ea695 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 20 Apr 2019 23:14:05 +0200 Subject: mz-router: added dyndns --- chaos-at-home/mz-router.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chaos-at-home/mz-router.yml') diff --git a/chaos-at-home/mz-router.yml b/chaos-at-home/mz-router.yml index 7adc9b6a..2095632e 100644 --- a/chaos-at-home/mz-router.yml +++ b/chaos-at-home/mz-router.yml @@ -4,3 +4,11 @@ roles: - role: openwrt/image delegate_to: localhost + + post_tasks: + - pause: + prompt: "\n****** copy and install image onto router and wait for it to come back ******\n" + + - shell: "base64 -d | ssh chmz-router \"/bin/sh -c 'umask 077; cat > /etc/dyndns/id_rsa'\"" + args: + stdin: "{{ vault_dyndns_ssh_key_b64 }}" -- cgit v1.2.3