Files
tthandClaude Opus 5.5 0a4cfafc78
ci / test (push) Successful in 2m39s
tth.meshcore: MeshCore repeaters as code, over RF
Ansible collection that converges MeshCore repeaters through a companion
radio (TCP, USB serial or BLE): admin ACL, CLI prefs, region tree,
firmware facts, companion remote-CLI ACL, and the meshcore-tth extras
(BLE on/off and own BLE PIN, channel-hash filter, message age, advert
fairness). Every change is read, diffed, sent and read back; --check
only reads. ansible-test sanity, unit tests and a galaxy build in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 02:23:24 +01:00

32 lines
1.2 KiB
YAML

# Example: one repeater, managed over RF through an openHop TCP companion on
# the host "observer". Copy, fill in, keep the password in ansible-vault.
all:
hosts:
observer:
ansible_host: observer.example.org
ansible_python_interpreter: /opt/meshcore-venv/bin/python # has `meshcore`
children:
meshcore_repeaters:
vars:
ansible_connection: local
mc_via: observer
mc_transport:
type: tcp
host: 127.0.0.1
port: 5000 # TCP port of your companion
expect_freq: 869.432 # nothing is sent when the companion is elsewhere
hosts:
my-repeater:
mc_target: 0000000000000000000000000000000000000000000000000000000000000000 # full pubkey
mc_admins:
- 1111111111111111111111111111111111111111111111111111111111111111 # the companion above
- 2222222222222222222222222222222222222222222222222222222222222222 # your phone
mc_prefs:
path.hash.mode: 1
advert.interval: 0 # minutes
flood.advert.interval: 47 # hours
mc_regions:
- {name: cz}
- {name: cz-ulk, parent: cz}
mc_region_home: cz-ulk