File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 15
15
16
16
- name : Get instance details
17
17
oracle.oci.oci_compute_instance_facts :
18
+ config_file_location : " {{ oci_config_file | default(omit) }}"
19
+ config_profile_name : " {{ oci_config_section | default(omit) }}"
18
20
compartment_id : " {{ my_compartment_id }}"
19
21
display_name : " {{ inventory_hostname }}"
20
22
sort_by : TIMECREATED
33
35
34
36
- name : Get vnic attachments of a specific instance
35
37
oracle.oci.oci_compute_vnic_attachment_facts :
38
+ config_file_location : " {{ oci_config_file | default(omit) }}"
39
+ config_profile_name : " {{ oci_config_section | default(omit) }}"
36
40
compartment_id : " {{ my_compartment_id }}"
37
41
instance_id : " {{ instance_details.instances[0].id }}"
38
42
delegate_to : localhost
64
68
65
69
- name : Get secondary vnic facts
66
70
oracle.oci.oci_network_vnic_facts :
71
+ config_file_location : " {{ oci_config_file | default(omit) }}"
72
+ config_profile_name : " {{ oci_config_section | default(omit) }}"
67
73
vnic_id : " {{ secondary_vnic_id[0] }}"
68
74
delegate_to : localhost
69
75
register : secondary_vnic_facts
Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ collections:
14
14
- freeipa.ansible_freeipa
15
15
- community.libvirt
16
16
- oracle.oci
17
+ - ovirt.ovirt
You can’t perform that action at this time.
0 commit comments