Skip to content

Commit 406c70a

Browse files
Merge pull request #623 from akrzos/public_vlan_last_interface
Use -1 for last interface incase of hardware with different count of …
2 parents d4512c2 + 0499644 commit 406c70a

File tree

1 file changed

+2
-2
lines changed
  • ansible/roles/create-inventory/tasks

1 file changed

+2
-2
lines changed

ansible/roles/create-inventory/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
- name: Public VLAN in MNO cluster
4040
when: public_vlan and cluster_type == "mno"
4141
block:
42-
- name: Public VLAN - Configuring controlplane_network_interface_idx to the last interface
42+
- name: Public VLAN - Set controlplane_network_interface_idx to -1 for the last interface
4343
set_fact:
44-
controlplane_network_interface_idx: "{{ ocpinventory.json.nodes[0].mac | length - 1 }}"
44+
controlplane_network_interface_idx: "-1"
4545

4646
- name: Get assignment from scalelab quads
4747
uri:

0 commit comments

Comments
 (0)