updating inventory to skipp large backups
This commit is contained in:
@@ -9,16 +9,16 @@ all:
|
|||||||
children:
|
children:
|
||||||
app_data:
|
app_data:
|
||||||
hosts:
|
hosts:
|
||||||
navidrome:
|
#navidrome:
|
||||||
ansible_host: 192.168.0.59
|
# ansible_host: 192.168.0.59
|
||||||
grail:
|
#grail:
|
||||||
ansible_host: 192.168.0.65
|
# ansible_host: 192.168.0.65
|
||||||
owncloud:
|
#owncloud:
|
||||||
ansible_host: 192.168.0.57
|
# ansible_host: 192.168.0.57
|
||||||
caddy:
|
caddy:
|
||||||
ansible_host: 192.168.0.6
|
ansible_host: 192.168.0.6
|
||||||
downloader:
|
#downloader:
|
||||||
ansible_host: 192.168.0.22
|
# ansible_host: 192.168.0.22
|
||||||
dashboard:
|
dashboard:
|
||||||
ansible_host: 192.168.0.60
|
ansible_host: 192.168.0.60
|
||||||
# Add your other data servers here:
|
# Add your other data servers here:
|
||||||
@@ -28,16 +28,16 @@ all:
|
|||||||
# Maps to the /app/docker/ path in the playbook
|
# Maps to the /app/docker/ path in the playbook
|
||||||
app_docker:
|
app_docker:
|
||||||
hosts:
|
hosts:
|
||||||
navidrome:
|
#navidrome:
|
||||||
ansible_host: 192.168.0.59
|
# ansible_host: 192.168.0.59
|
||||||
grail:
|
#grail:
|
||||||
ansible_host: 192.168.0.65
|
# ansible_host: 192.168.0.65
|
||||||
owncloud:
|
#owncloud:
|
||||||
ansible_host: 192.168.0.57
|
# ansible_host: 192.168.0.57
|
||||||
caddy:
|
caddy:
|
||||||
ansible_host: 192.168.0.6
|
ansible_host: 192.168.0.6
|
||||||
downloader:
|
#downloader:
|
||||||
ansible_host: 192.168.0.22
|
# ansible_host: 192.168.0.22
|
||||||
dashboard:
|
dashboard:
|
||||||
ansible_host: 192.168.0.60
|
ansible_host: 192.168.0.60
|
||||||
# Add your other docker servers here:
|
# Add your other docker servers here:
|
||||||
|
|||||||
@@ -117,7 +117,7 @@
|
|||||||
forget
|
forget
|
||||||
--host "{{ inventory_hostname }}"
|
--host "{{ inventory_hostname }}"
|
||||||
--tag "{{ item.label }}"
|
--tag "{{ item.label }}"
|
||||||
--keep-daily 7 --keep-weekly 2 --prune
|
--keep-daily 7 --keep-weekly 2 --prune
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ item.path }}:/backup_target/{{ item.label }}:ro"
|
- "{{ item.path }}:/backup_target/{{ item.label }}:ro"
|
||||||
env: *restic_env
|
env: *restic_env
|
||||||
|
|||||||
Reference in New Issue
Block a user