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.

24 lines
431B

  1. ---
  2. - setup:
  3. gather_subset: "!all"
  4. - include: setup_Debian.yml
  5. when: ansible_os_family == "Debian"
  6. #- include: gdisk.yml
  7. - name: write partition table
  8. command:
  9. parted --script
  10. {{ item.device }}
  11. -- {{ lookup('template','parted_args.j2') }}
  12. with_items: "{{ hard_disks }}"
  13. - name: sync
  14. command: sync
  15. - name: reread partition tables
  16. command: partprobe {{ item.device }}
  17. with_items: "{{ hard_disks }}"