ddfa1a6e5b
Beszel agents are installed and verified across the fleet but the artifacts that produced them were never committed, so the deployment existed only on the hosts. Adds the per-host agent environment files (PORT, NICS, EXTRA_FILESYSTEMS and the hub's PUBLIC key), the systemd unit, the guest install script, the Synology compose, and the elway playbooks for native, guest-stage, guest-install and Synology paths. The two dated memory detail files covering the priority-1 and priority-2 waves ship alongside, per the convention that memory lands with the work it describes. No credentials here. The KEY= value in every host env is the Beszel hub's public ed25519 key, identical across all nine and public by design; the agent README says so explicitly. The nh3-nas sudo password referenced in the runbook prose lives in Vaultwarden and the helper scripts named there never contained it. ⚠ Overlapping VMIDs across hypervisors are a standing trap and are recorded in the priority-2 notes: pfi-pve 105=postgres and 100=pbs-ana, nh3-pve 105=pbs-nh3. ⚠ PBS-NH3's export was ~75.5% used at capture; resource checks are not job success monitoring and should not be read as such.
28 lines
958 B
YAML
28 lines
958 B
YAML
steps:
|
|
- name: Verify DSM paths and prepare agent-only directory
|
|
sudo: true
|
|
shell: |
|
|
set -eu
|
|
test -d /usr/share/zoneinfo
|
|
test -S /var/run/docker.sock
|
|
test ! -e /volume1/compose/beszel/compose.yaml
|
|
mkdir -p /volume1/compose/beszel/agent-data
|
|
- name: Upload version-matched Synology agent configuration
|
|
sudo: true
|
|
upload:
|
|
src: stacks/beszel/synology/compose.yaml
|
|
dest: /volume1/compose/beszel/compose.yaml
|
|
mode: '0644'
|
|
- name: Start only the monitoring agent
|
|
sudo: true
|
|
shell: |
|
|
set -eu
|
|
cd /volume1/compose/beszel
|
|
/usr/local/bin/docker compose config --quiet
|
|
/usr/local/bin/docker compose pull beszel-agent
|
|
/usr/local/bin/docker compose up -d beszel-agent
|
|
verify:
|
|
- name: Check agent and existing backup service
|
|
sudo: true
|
|
shell: /usr/local/bin/docker ps --format '{{.Names}} {{.Status}}' && /usr/local/bin/docker logs --tail 15 beszel-agent
|