From eecfd297f1392b34b6e368b4b81f4bb19115e433 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 27 Nov 2024 23:40:16 +0100 Subject: [PATCH] copr-be-dev: correctly loop over two lists of volumes --- roles/copr/backend/tasks/mount_fs.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/copr/backend/tasks/mount_fs.yml b/roles/copr/backend/tasks/mount_fs.yml index 5a890cb90a..e8560425df 100644 --- a/roles/copr/backend/tasks/mount_fs.yml +++ b/roles/copr/backend/tasks/mount_fs.yml @@ -23,9 +23,7 @@ stat: path: "/dev/disk/by-id/{{ item }}" register: stat_raid - loop: - - "{{ copr_backend_data_raid10_volumes }}" - - "{{ copr_backend_data_2_raid1_volumes }}" + loop: "{{ copr_backend_data_raid10_volumes + copr_backend_data_2_raid1_volumes }}" - name: fail if raid volumes do not exist debug: msg=checked