File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 144
144
display_name : " bv-ocfs2"
145
145
size_in_gbs : " {{ block_volume_size_in_gbs }}"
146
146
key_by : [compartment_id, display_name]
147
- register : result
147
+ register : create_bv
148
148
retries : 10
149
149
delay : 30
150
- until : result is not failed
150
+ until : create_bv is not failed
151
151
152
152
- name : Set the block volume id
153
153
ansible.builtin.set_fact :
154
- volume_id : " {{ result .volume.id }}"
154
+ volume_id : " {{ create_bv .volume.id }}"
155
155
156
156
- name : Attach the block volume
157
157
oracle.oci.oci_compute_volume_attachment :
164
164
is_agent_auto_iscsi_login_enabled : true
165
165
is_read_only : false
166
166
is_shareable : true
167
+ register : attach_bv
167
168
retries : 10
168
169
delay : 30
169
- until : result is not failed
170
+ until : attach_bv is not failed
170
171
171
172
172
173
- name : Print the public and private ip of the newly created instance
You can’t perform that action at this time.
0 commit comments