summaryrefslogtreecommitdiff
path: root/chaos-at-home/mz-router.yml
blob: 946469915309af5f43d773282a3be30072dff57a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: Basic Setup
  hosts: mz-router
  connection: local
  gather_facts: no

  roles:
  - role: openwrt/image

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