Skip to content

Commit 101ac11

Browse files
committed
fix when clause for iscsi instance type
1 parent 3819137 commit 101ac11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ol/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
instance_display_name: "{{ result.instance.display_name }}"
5959

6060
- name: Launch an instance using iSCSI BV
61+
when: volume_type == "iscsi"
6162
block:
6263
- name: Launch an instance
6364
oracle.oci.oci_compute_instance:
@@ -89,7 +90,6 @@
8990
desired_state: ENABLED
9091
key_by: [compartment_id, availability_domain, display_name]
9192
register: result
92-
when: volume_type == "iscsi"
9393
vars:
9494
timestamp: "{{ now().strftime('%Y%m%d-%H%M%S') }}"
9595
retries: 10

0 commit comments

Comments
 (0)