From 41bb421f0104709b70ef3926be6061f4c08f278a Mon Sep 17 00:00:00 2001 From: Guillermo Ojea Quintana <58303431+gojeaqui@users.noreply.github.com> Date: Wed, 22 Nov 2023 12:23:46 -0300 Subject: [PATCH 1/2] Correct misleading task name --- roles/vendors/pxe/tasks/disk.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/vendors/pxe/tasks/disk.yml b/roles/vendors/pxe/tasks/disk.yml index ff9a6a25..9843cb41 100644 --- a/roles/vendors/pxe/tasks/disk.yml +++ b/roles/vendors/pxe/tasks/disk.yml @@ -7,7 +7,7 @@ port: "{{ bmc_port }}" state: "off" -- name: Set server to boot from network +- name: Set server to boot from disk community.general.ipmi_boot: name: "{{ bmc_address }}" user: "{{ bmc_user }}" From fa2663a390ac68bdeefeb9884cb12d06a05bad85 Mon Sep 17 00:00:00 2001 From: Michele Costa Date: Fri, 27 Oct 2023 10:48:14 +0100 Subject: [PATCH 2/2] Fix issue with bonding where nmstate has change the field --- roles/process_nmstate/templates/nmstate.yml.j2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/process_nmstate/templates/nmstate.yml.j2 b/roles/process_nmstate/templates/nmstate.yml.j2 index 64f228e8..12d1096a 100644 --- a/roles/process_nmstate/templates/nmstate.yml.j2 +++ b/roles/process_nmstate/templates/nmstate.yml.j2 @@ -36,9 +36,11 @@ interfaces: link-aggregation: mode: {{ interface.link_aggregation.mode | default('active-backup') }} options: {{ interface.link_aggregation.options | default([]) | to_json }} - slaves: - {% for slave in interface.link_aggregation.slaves %} - - {{ slave }} + port: + {% set old_ports = ((interface.link_aggregation.slaves | default([])) | list) %} + {% set ports = ((interface.link_aggregation.ports | default([])) | list) + old_ports %} + {% for port in ports %} + - {{ port }} {% endfor %} {% endif %} {% if (interface.type | default('ethernet')) == 'vlan' %}