infrastructure/playbooks/tasks/restore-volumes.yml

7 lines
229 B
YAML

- name: Restore volumes
ansible.builtin.include_tasks:
file: tasks/steps/restore-volume.yml
loop: "{{ all_services | service_get_backups(role_name) }}"
when: volume.type == 'docker'
loop_control:
loop_var: volume