You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-homelab/ansible/homelab/playbooks/restore-all.yml

20 lines
626 B
YAML

###
# restore-all restores a manually specified list of volumes.
# This is intended for user when initially setting up a home lab environment
# and want to restore all applications from existing backups
#
# Restores will be skipped if there is no archive in the backup directory.
#
# If a container exists, it will be stopped, restored and started
# If a container does not exist, the volume will be still be created.
###
---
- name: Redeploy Portainer and All Volumes
hosts: servers
tasks:
- name: Restore Tautulli
import_tasks: ../tasks/restore-volume-tasks.yml
vars:
container_name: "tautulli"