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:
25
deploy/nvr2.sh
Normal file
25
deploy/nvr2.sh
Normal 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
|
||||
Reference in New Issue
Block a user