summaryrefslogtreecommitdiff
path: root/chaos-at-home/mz-router.yml
blob: 8f4f056fae18775fd8b1c7c819ce1c4980f4f43a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: Basic Setup
  hosts: mz-router
  connection: local
  gather_facts: no
  roles:
  - role: installer/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 }}"