dell / iDRAC-Redfish-Scripting

Python and PowerShell scripting for Dell EMC PowerEdge iDRAC REST API with DMTF Redfish
GNU General Public License v2.0
598 stars 276 forks source link

How to boot using Ansible from an iso that's located on a remote server? #254

Closed Michelle5757 closed 1 year ago

Michelle5757 commented 1 year ago

Hello,

I have this playbook that what I'm trying to do it's to install CentOS using Ansible and Redfish, I don't want to use any modules, I'll install the CentOS on multiple Dell iDRAC9 servers and I'm having one issue:

2)After the ISO it's mounted, the server has not entered automatically into ISO boot menu, and I'm trying to achieve this by the Set boot order task.

Can someone please help me to correct this?

Here's the code:

`- hosts: Linux_OS_machine connection: local name: ULP image install gather_facts: false vars: ansible_python_interpreter: /usr/bin/env python datatype: SetBiosAttributes image: "{{ iso_version }}-{{ inventory_hostname }}.iso"

tasks:

Thanks!

texroemer commented 1 year ago

Hi @Michelle5757

Can you please post this issue on the Ansible GitHub page instead. Ansible team at Dell will be able to respond and help you out.

https://github.com/ansible/ansible/issues

Thanks Tex