File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 14
14
availability_domain : " {{ my_availability_domain }}"
15
15
display_name : " blockvolume-{{ item.value.instance_name | default('instance-'~timestamp) }}"
16
16
size_in_gbs : " {{ block_volume_size_in_gbs }}"
17
+ key_by : [compartment_id, display_name]
17
18
register : result
18
19
vars :
19
20
timestamp : " {{ now().strftime('%Y%m%d-%H%M%S') }}"
32
33
volume_id : " {{ volume_id }}"
33
34
compartment_id : " {{ my_compartment_id }}"
34
35
device : " /dev/oracleoci/oraclevd{{ block_devices[ansible_loop.index0] }}"
36
+ display_name : " blockvolume-vd{{ block_devices[ansible_loop.index0] }}"
35
37
is_read_only : false
36
38
is_shareable : false
39
+ key_by : [compartment_id, display_name]
37
40
retries : 10
38
41
delay : 30
39
42
until : result is not failed
You can’t perform that action at this time.
0 commit comments