blob: 2941c98372c2b153df58404de4c6821c38fcf46f (
plain) (
blame)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
---
install_jumphost: ch-jump
install:
vm:
memory: 2G
numcpus: 2
autostart: True
disks:
primary: /dev/sda
scsi:
sda:
type: zfs
name: root
size: 10g
sdb:
type: zfs
name: data
size: 20g
properties:
'syncoid:sync': 'false'
interfaces:
- bridge: br-svc
name: svc0
network:
nameservers: "{{ network_zones.svc.dns }}"
domain: "{{ host_domain }}"
systemd_link:
interfaces: "{{ install.interfaces }}"
primary: &_network_primary_
name: svc0
address: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) }}"
gateway: "{{ network_zones.svc.gateway }}"
static_routes:
- destination: "{{ network_zones.lan.prefix }}"
gateway: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets['ch-gw-lan']) | ansible.utils.ipaddr('address') }}"
interfaces:
- *_network_primary_
apt_repo_provider: anexia
spreadspace_apt_repo_components:
- prometheus
ntp_variant: systemd-timesyncd
lvm_groups:
storage:
pvs:
- /dev/sdb
apt_cacher_ng_storage:
type: lvm
vg: storage
lv: apt-cacher-ng
size: 15G
fs: ext4
apt_cacher_ng_hostname: apt.chaos-at-home.org
apt_cacher_ng_remaps:
debian:
path: /debian
backends:
- http://debian.anexia.at/debian
debian-security:
path: /debian-security
backends:
- http://debian.anexia.at/debian-security
debian-archive:
path: /debian-archive
backends:
- http://archive.debian.org/debian
ubuntu:
path: /ubuntu
backends:
- http://ubuntu.anexia.at/ubuntu
kali:
path: /kali
backends:
- http://http.kali.org/kali
raspios:
path: /raspios
backends:
- http://archive.raspberrypi.com/debian
apt_cacher_ng_admin_auth:
username: admin
password: "{{ vault_apt_cacher_ng_admin_auth_password }}"
prometheus_job_multitarget_blackbox__probe:
ch-mon:
- instance: "ssh-{{ inventory_hostname }}"
target: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}"
module: ssh_banner
- instance: "http-apt.chaos-at-home.org"
target: "http://{{ apt_cacher_ng_hostname }}/acng-report.html"
module: "http_2xx"
|