copr-be-dev: correctly loop over two lists of volumes
This commit is contained in:
parent
b2ffa15dc7
commit
eecfd297f1
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue