- 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