From 0326cce2dc959b64839ea9295f1137067a02639d Mon Sep 17 00:00:00 2001 From: tolerryan Date: Tue, 25 Aug 2026 06:30:12 +0000 Subject: [PATCH] updating inventory to skipp large backups --- inventory.yml | 32 ++++++++++++++++---------------- playbooks/run-backups.yml | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/inventory.yml b/inventory.yml index 7c11fa8..8766266 100644 --- a/inventory.yml +++ b/inventory.yml @@ -9,16 +9,16 @@ all: children: app_data: hosts: - navidrome: - ansible_host: 192.168.0.59 - grail: - ansible_host: 192.168.0.65 - owncloud: - ansible_host: 192.168.0.57 + #navidrome: + # ansible_host: 192.168.0.59 + #grail: + # ansible_host: 192.168.0.65 + #owncloud: + # ansible_host: 192.168.0.57 caddy: ansible_host: 192.168.0.6 - downloader: - ansible_host: 192.168.0.22 + #downloader: + # ansible_host: 192.168.0.22 dashboard: ansible_host: 192.168.0.60 # Add your other data servers here: @@ -28,16 +28,16 @@ all: # Maps to the /app/docker/ path in the playbook app_docker: hosts: - navidrome: - ansible_host: 192.168.0.59 - grail: - ansible_host: 192.168.0.65 - owncloud: - ansible_host: 192.168.0.57 + #navidrome: + # ansible_host: 192.168.0.59 + #grail: + # ansible_host: 192.168.0.65 + #owncloud: + # ansible_host: 192.168.0.57 caddy: ansible_host: 192.168.0.6 - downloader: - ansible_host: 192.168.0.22 + #downloader: + # ansible_host: 192.168.0.22 dashboard: ansible_host: 192.168.0.60 # Add your other docker servers here: diff --git a/playbooks/run-backups.yml b/playbooks/run-backups.yml index 270e5e4..ef10ac2 100644 --- a/playbooks/run-backups.yml +++ b/playbooks/run-backups.yml @@ -117,7 +117,7 @@ forget --host "{{ inventory_hostname }}" --tag "{{ item.label }}" - --keep-daily 7 --keep-weekly 2 --prune + --keep-daily 7 --keep-weekly 2 --prune volumes: - "{{ item.path }}:/backup_target/{{ item.label }}:ro" env: *restic_env