### # 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. ### # TODO: here instead we can probably iterate through all containers with the backup label. --- - name: Redeploy Portainer and All Volumes hosts: servers vars_files: - ../variables.yml tasks: - name: Restore Portainer import_tasks: ../tasks/restore-volume-tasks.yml vars: container_name: "portainer"