Skip to content

Ansible role to install and configure mdadm RAID manager

License

Notifications You must be signed in to change notification settings

rolehippie/mdadm

Repository files navigation

mdadm

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to install and configure mdadm RAID manager.

Sponsor

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

mdadm_arrays

List of docker registries to auto login

Default value

mdadm_arrays: []

Example usage

mdadm_arrays:
  - number: 0
    level: 1
    filesystem: ext4
    mountpoint: /var/lib/foo
    devices:
      - /dev/sdb
      - /dev/sdc
  - number: 1
    level: 1
    filesystem: ext4
    mountpoint: /var/lib/bar
    args:
      - --data-offset=1024
    devices:
      - /dev/sdd
      - /dev/sde

mdadm_homehost

Hostname for the mdadm config

Default value

mdadm_homehost: '{{ inventory_hostname }}'

mdadm_mailaddr

Default value

mdadm_mailaddr: root

Discovered Tags

mdadm

skip_ansible_later

Dependencies

License

Apache-2.0

Author

Thomas Boerger