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.
This commit is contained in:
2024-08-14 20:21:27 -05:00
parent 459d58bfb6
commit fbf587414a
3 changed files with 40 additions and 0 deletions

22
deploy/chromie.sh Normal file
View File

@@ -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