-
Notifications
You must be signed in to change notification settings - Fork 42
/
main.yml
37 lines (37 loc) · 799 Bytes
/
main.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
---
# defaults file for ansible-mdadm
#
# Define Raid Arrays to manage
#
# Example RAID1:
# mdadm_arrays:
# # Define array name
# - name: 'md0'
# # Define disk devices to assign to array
# devices:
# - '/dev/sdb'
# - '/dev/sdc'
# # Define filesystem to partition array with
# filesystem: 'ext4'
# # Define the array raid level
# # 0|1|4|5|6|10
# level: '1'
# # Define mountpoint for array device
# mountpoint: '/mnt/md0'
# # Define if array should be present or absent
# state: 'present'
# # Set mount options (optional)
# opts: 'noatime'
#
# Example RAID5:
# mdadm_arrays:
# - name: 'md0'
# devices:
# - '/dev/sdb'
# - '/dev/sdc'
# - '/dev/sdd'
# filesystem: 'ext4'
# level: '5'
# mountpoint: '/mnt/md0'
# state: 'present'
mdadm_arrays: []