version: 2.2 category: File System shortdesc: RAID Hosting LVM longdesc: "Configure a RAID 1 host based mirror together with a cluster manager LVM volume group and LVM volumes." parameters: - name: id shortdesc: RAID and LVM Group ID longdesc: File systems that should be mounted in the LVM can be added to this group resource. type: resource value: g-raid required: true include: - script: raid1 parameters: - name: raidconf value: /etc/mdadm.conf type: string - name: raiddev value: /dev/md0 type: string - script: lvm actions: - include: lvm - include: raid1 - cib: group {{id}} {{raid1:id}} {{lvm:id}} meta target-role=stopped