-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathradio.yaml
76 lines (68 loc) · 1.73 KB
/
radio.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
- name: Setup machine for Zigbee and Z-Wave
hosts: radio.home.derham.me
become: true
vars:
base_dir: /srv
tasks:
- name: Ensure the base directory exists
ansible.builtin.file:
path: /etc/terminfo/a/
state: directory
mode: "0755"
- name: Copy terminfo
ansible.builtin.copy:
src: files/alacritty.terminfo
dest: /etc/terminfo/a/alacritty
owner: root
group: root
mode: "0644"
- name: Install Step CLI
ansible.builtin.include_role:
name: maxhoesel.smallstep.step_cli
vars:
step_cli_version: "0.24.4"
step_cli_arch:
armv7l: "armv7"
tags:
- step
- name: Bootstrap the hosts to trust the CA
ansible.builtin.include_role:
name: maxhoesel.smallstep.step_bootstrap_host
vars:
step_cli_install: false
step_bootstrap_ca_url: https://ca.home.derham.me
step_bootstrap_fingerprint: "e0d6b8d064a2bb9adbaf327363a36f2f5233de3aa518fb9c0d9f83182e0b5a1c"
tags:
- step
- name: Install Podman
ansible.builtin.apt:
name: "{{ item }}"
state: present
loop:
- podman
- podman-docker
tags:
- podman
- name: Enable Podman socket
ansible.builtin.systemd:
name: podman.socket
enabled: true
state: started
tags:
- podman
- name: Install Caddy
ansible.builtin.include_role:
name: caddy
apply:
tags:
- caddy
tags:
- caddy
- name: Install Z-Wave JS UI
ansible.builtin.include_role:
name: zwave-js-ui
apply:
tags:
- zwave-js-ui
tags:
- zwave-js-ui