diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-04-20 23:14:05 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-04-20 23:14:05 +0200 |
commit | aa8041c8b9aa5696a374ccc5c75245a1ce6ea695 (patch) | |
tree | 1838d1d5e1191d5a2d6bccfcd46a08389c5c8c7b /chaos-at-home/mz-router.yml | |
parent | change default port for mz zone (diff) |
mz-router: added dyndns
Diffstat (limited to 'chaos-at-home/mz-router.yml')
-rw-r--r-- | chaos-at-home/mz-router.yml | 8 |
1 files changed, 8 insertions, 0 deletions
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 }}" |