Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.yml #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@
# defaults file for ansible-mdadm
#
# Define Raid Arrays to manage
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'
#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'
# mountpoint: '/mnt/md0'
# Define if array should be present or absent
state: 'present'
# define chunk size
#chunk: '64k'
#tate: 'present'
# Set mount options (optional)
opts: 'noatime'
# opts: 'noatime'
# - name: 'md0'
# devices:
# - '/dev/sdb'
Expand Down