blob: 2095632e3c5d587466338ad2ea4ab8493df9ad9b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
---
- hosts: mz-router
connection: local
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 }}"
|