diff --git a/ansible/roles/ironic-enrolment/tasks/node.yml b/ansible/roles/ironic-enrolment/tasks/node.yml index 6a30ef6..3290b15 100644 --- a/ansible/roles/ironic-enrolment/tasks/node.yml +++ b/ansible/roles/ironic-enrolment/tasks/node.yml @@ -102,6 +102,11 @@ cpus: "{{ node.vcpus }}" memory_mb: "{{ node.memory_mb }}" local_gb: "{{ node.volumes[0].capacity | size_string_to_gb if node.volumes | length > 0 else 0 }}" + # Since we currently only support legacy BIOS boot mode, set it + # explicitly here. This is especially important since Ironic changed + # the default boot mode to UEFI in Yoga. If the capabilities field is + # provided, the boot_mode should be set explicitly. + capabilities: "boot_mode:bios" - name: Add Ironic node traits command: >-