-
Notifications
You must be signed in to change notification settings - Fork 0
/
idrac_storage_volume.yml
39 lines (37 loc) · 1.05 KB
/
idrac_storage_volume.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
- hosts: idrac
name: Configure iDRAC storage volumes
connection: local
gather_facts: False
vars:
ansible_python_interpreter: python
tasks:
- name: Create storage volume
include_role:
name: idrac_storage_volume
vars:
controller_id: "RAID.Slot.5-1"
raid_reset_config: "True"
write_cache_policy: "WriteBack"
read_cache_policy: "ReadAhead"
volumes:
- name: "Virtual Disk 0"
volume_type: "RAID 1"
drives:
id:
- "Disk.Bay.0:Enclosure.Internal.0-1:RAID.Slot.5-1"
- "Disk.Bay.1:Enclosure.Internal.0-1:RAID.Slot.5-1"
stripe_size: 524288
span_length: 2
span_depth: 1
- name: "Virtual Disk 1"
volume_type: "RAID 1"
drives:
id:
- "Disk.Bay.2:Enclosure.Internal.0-1:RAID.Slot.5-1"
- "Disk.Bay.3:Enclosure.Internal.0-1:RAID.Slot.5-1"
stripe_size: 524288
span_length: 2
span_depth: 1
tags:
- create-idrac-storage-volume