hosts: Add chromie.p.b
*chromie.pyrocufflink.blue* will replace *burp1.pyrocufflink.blue* as the backup server. It is running on the hardware that was originally *nvr1.pyrocufflink.blue*: a 1U Jetway server with an Intel Celeron N3160 CPU and 4 GB of RAM.frigate-exporter
parent
459d58bfb6
commit
fbf587414a
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# vim: set sw=4 ts=4 sts=4 noet :
|
||||||
|
|
||||||
|
ansible-playbook \
|
||||||
|
-l chromie.pyrocufflink.blue \
|
||||||
|
wait-for-host.yml \
|
||||||
|
|| exit
|
||||||
|
|
||||||
|
printf 'Waiting for SSH host certificate to be signed ... '
|
||||||
|
until ssh-keyscan -c chromie.pyrocufflink.blue 2>/dev/null | grep -q cert; do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
echo done
|
||||||
|
ansible-playbook \
|
||||||
|
-l chromie.pyrocufflink.blue \
|
||||||
|
bootstrap.yml \
|
||||||
|
pyrocufflink.yml \
|
||||||
|
collectd.yml \
|
||||||
|
promtail.yml \
|
||||||
|
-u root \
|
||||||
|
-e @join.creds \
|
||||||
|
|| exit
|
|
@ -1,3 +1,18 @@
|
||||||
|
md_name: backup5
|
||||||
|
raid_disks:
|
||||||
|
- '/dev/disk/by-id/usb-WD_My_Book_25ED_39414A324A364C52-0:0'
|
||||||
|
- '/dev/disk/by-id/usb-WD_My_Book_25ED_39414A32504E3852-0:0'
|
||||||
|
|
||||||
|
data_volumes:
|
||||||
|
- dev: /dev/disk/by-id/md-name-backup5
|
||||||
|
fstype: btrfs
|
||||||
|
mountpoint: /var/lib/minio
|
||||||
|
mountopts: subvol=minio
|
||||||
|
|
||||||
|
btrfs_subvolumes:
|
||||||
|
- name: minio
|
||||||
|
device: /dev/disk/by-id/md-name-backup5
|
||||||
|
|
||||||
minio_domain: s3.backups.pyrocufflink.blue
|
minio_domain: s3.backups.pyrocufflink.blue
|
||||||
minio_console_domain: minio.backups.pyrocufflink.blue
|
minio_console_domain: minio.backups.pyrocufflink.blue
|
||||||
minio_host_network: true
|
minio_host_network: true
|
||||||
|
|
3
hosts
3
hosts
|
@ -31,6 +31,7 @@ collectd
|
||||||
vm-hosts
|
vm-hosts
|
||||||
|
|
||||||
[collectd-sensors]
|
[collectd-sensors]
|
||||||
|
chromie.pyrocufflink.blue
|
||||||
nvr2.pyrocufflink.blue
|
nvr2.pyrocufflink.blue
|
||||||
|
|
||||||
[dch-proxy]
|
[dch-proxy]
|
||||||
|
@ -88,6 +89,7 @@ k8s-controller
|
||||||
k8s-node
|
k8s-node
|
||||||
|
|
||||||
[minio-backups]
|
[minio-backups]
|
||||||
|
chromie.pyrocufflink.blue
|
||||||
|
|
||||||
[minio:children]
|
[minio:children]
|
||||||
burp-server
|
burp-server
|
||||||
|
@ -128,6 +130,7 @@ pxe0.pyrocufflink.blue
|
||||||
[pyrocufflink]
|
[pyrocufflink]
|
||||||
burp1.pyrocufflink.blue
|
burp1.pyrocufflink.blue
|
||||||
bw0.pyrocufflink.blue
|
bw0.pyrocufflink.blue
|
||||||
|
chromie.pyrocufflink.blue
|
||||||
cloud0.pyrocufflink.blue
|
cloud0.pyrocufflink.blue
|
||||||
db0.pyrocufflink.blue
|
db0.pyrocufflink.blue
|
||||||
dc-grumbly.pyrocufflink.blue
|
dc-grumbly.pyrocufflink.blue
|
||||||
|
|
Loading…
Reference in New Issue