Skip to content

Commit

Permalink
Merge branch 'main' into fix-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
gojeaqui authored Nov 24, 2023
2 parents 97e9301 + fa2663a commit cbd1ffa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions roles/process_nmstate/templates/nmstate.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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' %}
Expand Down
2 changes: 1 addition & 1 deletion roles/vendors/pxe/tasks/disk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit cbd1ffa

Please sign in to comment.