You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
400B

  1. mdraid_devices:
  2. - device: /dev/md/boot
  3. level: 1
  4. devices: "{{ hard_disks | json_query(\"[].partitions[?usage=='boot'][].device\") | list }}"
  5. - device: /dev/md/data
  6. level: 0
  7. devices: "{{ hard_disks | json_query(\"[].partitions[?usage=='data'][].device\") | list }}"
  8. boot_device: /dev/md/boot
  9. rescue_device: /dev/md/rescue
  10. data_device: /dev/md/data
  11. debian_boot_packages:
  12. - mdadm