Fusion 2018 - tallycoms

At Fusion 2018 we ran a two camera setup for recording only. With the flight cases for room 1 and room 2 came two tallycoms whose config differed from their label and whose config was inconsistent.

Status

device	ipv4	/etc/issue	config
tallycom2-1	10.73.2.15/16	Raspbian GNU/Linux 9	partially ansibilised, please redo completely for next event
tallycom3-2	10.73.2.17/16 (should be 10.73.3.16/16)	Raspbian GNU/Linux 8	partially ansibilised, please redo completely for next event

Getting voctolight on both tallycoms to (manually) work took unnecessarily much time. It boils down to being new to the matter, wrong labels, wrong config and different behavior after correcting the config, due to different base OS versions (https://www.raspberrypi.org/forums/viewtopic.php?t=187225).

Step for step rebuild

Below is written from scratch, so that someone who brings their (linux) laptop and never worked with the VOC before, has a good starting point. This section can be moved to a separate page in true wiki fashion.

1. Flash latest Raspberry lite

Ensure that you have access to this wiki. If you haven't, you can't read this. :brain_explosion:

Download + unzip the latest Raspbian lite - https://downloads.raspberrypi.org/raspbian_latest (at the time of writing April 2018)
WARNING: 350 MB - A lot in case of shitty/shared uplink…

user@laptop$ cd ~/Downloads
user@laptop$ wget http://director.downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-04-19/2018-04-18-raspbian-stretch-lite.zip
user@laptop$ unzip 2018-04-18-raspbian-stretch-lite.zip

Write the unpacked Raspbian image to a microSD card (replace /dev/sdX with the correct device name

user@laptop$ cd ~/Downloads
user@laptop$ dd if=./2018-04-18-raspbian-stretch-lite.img of=/dev/sdX

2. Setup ansible + VOC cm repo

Install ansible

Clone the VOC cm repo

3. Final ansible run

For this section

Run on multiple tallycoms - WARNING: placeholder only

./ansible-playbook-keepass -u voc –ask-pass –become –become-method=sudo –ask-become-pass \
-i event -t tally \
-l 10.73.1.15,10.73.1.16,10.73.2.15,10.73.2.16,10.73.3.16,10.73.4.15,10.73.4.16 \
-t tally \
tally-pis.yml

Sources/Hints

tallycom - Base info about the raspberry pi 3 based tallycoms.ansible - Base explanation of the VOC ansible repo.34C4 Tally - Use the tally-pis branch from https://github.com/voc/cm, might need some work and should probably be merged into the master branch eventually.