Add Ansible playbooks for MeshCore monitoring node deployment
Roles: base (apt, tailscale, motd), meshcore_cli (pipx), meshcore_capture (agessaman/meshcore-packet-capture + .env.local template), scripts (voltage, bandwidth). Host vars contain per-device serial ports; group vars hold shared MQTT broker config. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: Ensure pipx path is configured
|
||||
shell: pipx ensurepath
|
||||
args:
|
||||
executable: /bin/bash
|
||||
become: false
|
||||
register: pipx_ensurepath
|
||||
changed_when: "'already' not in pipx_ensurepath.stdout"
|
||||
|
||||
- name: Install meshcore-cli via pipx
|
||||
shell: pipx install meshcore-cli
|
||||
args:
|
||||
executable: /bin/bash
|
||||
creates: "{{ ansible_env.HOME }}/.local/bin/meshcore-cli"
|
||||
become: false
|
||||
Reference in New Issue
Block a user