Inventory now declares the plural healthcheck_profiles list per host (hk2 runs pdns, rustdesk, hk2aux) instead of a single healthcheck_profile, and carries the rustdesk server vars (rustdesk_compose_dir/relay/image) plus the rustdesk host group. The restic role relied on the removed singular healthcheck_profile var; it now uses its own restic_backup_profile (set per host to vaultwarden on us2 and pdns on hk2), so the health-check rename no longer breaks it. audit.yml's summary labels the host's profile list instead of the singular var.
7 lines
368 B
Django/Jinja
7 lines
368 B
Django/Jinja
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
# Repository and password credentials are host-local in {{ restic_config_path }}.
|
|
# shellcheck source=/dev/null
|
|
source '{{ restic_config_path }}'
|
|
exec '{{ restic_binary }}' backup --tag '{{ restic_backup_profile }}' --tag "$(hostname -s)" {% for source in restic_sources[restic_backup_profile] %}{{ source | quote }} {% endfor %}
|