infrastructure/playbooks/tasks/restore-volumes.yml

6 lines
226 B
YAML

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