Commit 8538c69
committed
create_data_partition: Fix AWS data_device logic
Unfortunately, the ansible_devices dictionary on some OS's (notably
RHEL 9 and its derivatives ) does not include the .serial attribute.
Fixes: 0d5ade2 ("create_data_partition: Detect device to be used for /data partition")
Signed-off-by: Chuck Lever <[email protected]>1 parent d1dcd96 commit 8538c69
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
0 commit comments