Commit d389d25
committed
terraform/AWS: Fix AWS support in the volume_group role
"make bringup" fails:
The conditional check 'item.value.serial in ebs_volume_ids' failed.
The error was: error while evaluating conditional (item.value.serial
in ebs_volume_ids): 'dict object' has no attribute 'serial'.
Unfortunately, the ansible_devices dictionary on some OS's (notably
RHEL 9 and its derivatives ) does not include the .serial attribute.
Fixes: d1867bb ("volume_group: Create volume group on terraform/AWS nodes")
Signed-off-by: Chuck Lever <[email protected]>1 parent 8538c69 commit d389d25
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
0 commit comments