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.

18 line
538B

  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/rescue
  6. level: 1
  7. devices: "{{ hard_disks | json_query(\"[].partitions[?usage=='rescue'][].device\") | list }}"
  8. - device: /dev/md/data
  9. level: 1
  10. devices: "{{ hard_disks | json_query(\"[].partitions[?usage=='data'][].device\") | list }}"
  11. boot_device: /dev/md/boot
  12. rescue_device: /dev/md/rescue
  13. data_device: /dev/md/data
  14. debian_boot_packages:
  15. - mdadm