# Dell Raid selection using Idrac with ansible

**URL:** <https://forum.ansible.com/t/dell-raid-selection-using-idrac-with-ansible/43515>\
**Category:** Get Help\
**Created:** [June 23, 2025, 7:22am UTC](https://forum.ansible.com/t/dell-raid-selection-using-idrac-with-ansible/43515 "2025-06-23T07:22:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neil64](https://avatars.discourse-cdn.com/v4/letter/n/e9a140/32.png) [@Neil64](https://forum.ansible.com/u/Neil64)\
**Post date:** [June 23, 2025, 7:22am UTC](https://forum.ansible.com/t/dell-raid-selection-using-idrac-with-ansible/43515/1 "2025-06-23T07:22:29Z")

</div>

Im trying to set up 3 x raid sets via ansible and Dell Idrac .

A raid 1 Boot drive - On Boot card  
Radi 1 Livedb Drive - on SSD drives of the on Board raid controller  
Raid 5 Archive - on remaining HDD drives on board raid Controller.

Im having difficulty in ID the Controllers and Drives to select

## YML Script

- name: Get RAID info from Dell R550 iDRAC  
hosts: idrac  
gather\_facts: false

---

<div class="post-metadata">

**Author:** ![motorbass](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@motorbass](https://forum.ansible.com/u/motorbass)\
**Post date:** [June 23, 2025, 12:45pm UTC](https://forum.ansible.com/t/dell-raid-selection-using-idrac-with-ansible/43515/2 "2025-06-23T12:45:47Z")

</div>

Could we know what is your issue or what do you need ?  
I mean you’re pasting your yaml code without any result/error code or something.  
Sorry but it’s tough to guess your needs..

Moreover, there’s a whole example that seems to do what you need here :

> **[Ansible Galaxy](https://galaxy.ansible.com/ui/repo/published/dellemc/openmanage/content/module/dellemc_idrac_storage_volume/?extIdCarryOver=true&sc_cid=701f2000001OH6uAAG)**

---

<div class="post-metadata">

**Author:** ![Neil64](https://avatars.discourse-cdn.com/v4/letter/n/e9a140/32.png) [@Neil64](https://forum.ansible.com/u/Neil64)\
**Post date:** [June 24, 2025, 12:32am UTC](https://forum.ansible.com/t/dell-raid-selection-using-idrac-with-ansible/43515/3 "2025-06-24T00:32:26Z")

</div>

This is what the code returns - Im trying to find all Controlled with Disks I know the RAID.SL.3-1 Has 4 20TB HDD’s and 2 SSD’s on it but will not list.

Im trying to automate the raid setup for the raids.

the AHCI is the Boss Card. - it will be the main Boot drive. (raid 1)

TASK [Show storage controller current ID] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*task path: /home/admin\_nm/ansible/roles/dell/Raid\_info.yml:37  
ok: [idrac-G84KF14-HQ-seccam02] =\> {  
“controllers\_with\_disks”: [  
{  
“controller\_id”: “RAID.SL.3-1”,  
“physical\_disks”:   
},  
{  
“controller\_id”: “AHCI.Embedded.1-1”,  
“physical\_disks”:   
},  
{  
“controller\_id”: “AHCI.Embedded.2-1”,  
“physical\_disks”:   
},  
{  
“controller\_id”: “AHCI.SL.10-1”,  
“physical\_disks”: [  
“Disk.Direct.0-0:AHCI.SL.10-1”,  
“Disk.Direct.1-1:AHCI.SL.10-1”  
]  
}  
]  
}
