Ansible Build Tool for Sensor Stations
This code can be run on a host Linux/Mac machine that has access to the target client machine. It can simultaneously run build scripts on any list of IP addresses in the inventory file. A Raspberry Pi works well for building on any set of machines on the network.
sudo apt install python-pip
sudo pip install -g ansible
The ansible playbook can be run against any inventory file. For example: inventories/compute
Edit this file and replace the IP address with the IP address of the target machine. (Repeat a line for each target machine.)
ansible-playbook -i inventories/compute compute_playbook.yml
/etc/ctt/ctt.conf
- Configuration profile for radio mapping, recording data to disk, and LED blink frequency. https://github.com/cellular-tracking-technologies/station-radio-interface/blob/v2/src/server/default-config.js
/etc/ctt/station-id
- Contents should only be the ID of the station
/etc/ctt/station-image
- Contents should only be a string indicating the station version
/etc/ctt/modem/*
- Modem udev rules
/etc/ppp/peers/gprs
- Modem ppp config file
/etc/chatscripts/*
- Modem chatscript files