hosts: Deploy production Frigate on nvr2.p.b

*nvr2.pyrocufflink.blue* originally ran Fedora CoreOS.  Since I'm tired
of the tedium and difficulty involved in making configuration changes to
FCOS machines, I am migrating it to Fedora Linux, managed by Ansible.
This commit is contained in:
2024-08-12 18:43:18 -05:00
parent 6c71d96f81
commit d2b3b1f7b3
4 changed files with 234 additions and 0 deletions

25
deploy/nvr2.sh Normal file
View File

@@ -0,0 +1,25 @@
#!/bin/sh
# vim: set sw=4 ts=4 sts=4 noet :
ansible-playbook \
-l nvr2.pyrocufflink.blue \
wait-for-host.yml \
|| exit
printf 'Waiting for SSH host certificate to be signed ... '
until ssh-keyscan -c nvr2.pyrocufflink.blue 2>/dev/null | grep -q cert; do
sleep 1
done
echo done
ansible-playbook \
-l nvr2.pyrocufflink.blue \
useproxy.yml \
datavol.yml \
bootstrap.yml \
pyrocufflink.yml \
frigate.yml \
collectd.yml \
promtail.yml \
-u root \
-e @join.creds \
|| exit