blob: 3ed83c4c97c4d873dbb95a0bbbddb43e53b51d60 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---
- name: install mdadm
apt:
name: mdadm
state: present
- name: create mdadm devices
loop: "{{ mdadm_devices | dict2items }}"
loop_control:
label: "{{ item.key }}"
vars:
mdadm_device: "{{ item.value }}"
include_role:
name: storage/mdadm/device
- name: create mdadm volumes
loop: "{{ mdadm_volumes | dict2items }}"
loop_control:
label: "{{ item.key }}"
vars:
mdadm_volume: "{{ item.value }}"
include_role:
name: storage/mdadm/volume
|