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