Skip to content

Commit 826b6dc

Browse files
committed
add ovirt to reqirements and config file and profile to secondary nic
1 parent 45cb6c7 commit 826b6dc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

olvm/configure_secondary_nic.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
- name: Get instance details
1717
oracle.oci.oci_compute_instance_facts:
18+
config_file_location: "{{ oci_config_file | default(omit) }}"
19+
config_profile_name: "{{ oci_config_section | default(omit) }}"
1820
compartment_id: "{{ my_compartment_id }}"
1921
display_name: "{{ inventory_hostname }}"
2022
sort_by: TIMECREATED
@@ -33,6 +35,8 @@
3335

3436
- name: Get vnic attachments of a specific instance
3537
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) }}"
3640
compartment_id: "{{ my_compartment_id }}"
3741
instance_id: "{{ instance_details.instances[0].id }}"
3842
delegate_to: localhost
@@ -64,6 +68,8 @@
6468

6569
- name: Get secondary vnic facts
6670
oracle.oci.oci_network_vnic_facts:
71+
config_file_location: "{{ oci_config_file | default(omit) }}"
72+
config_profile_name: "{{ oci_config_section | default(omit) }}"
6773
vnic_id: "{{ secondary_vnic_id[0] }}"
6874
delegate_to: localhost
6975
register: secondary_vnic_facts

olvm/requirements.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ collections:
1414
- freeipa.ansible_freeipa
1515
- community.libvirt
1616
- oracle.oci
17+
- ovirt.ovirt

0 commit comments

Comments
 (0)