Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

38 Zeilen
763B

  1. ---
  2. - include: setup_Debian.yml
  3. when: ansible_os_family == "Debian"
  4. - name: write partition table
  5. command:
  6. parted --script
  7. {{ item.device }}
  8. -- unit kiB
  9. mklabel {{ item.label_type }}
  10. with_items: "{{ hard_disks }}"
  11. - name: create partitions
  12. command:
  13. parted --script
  14. {{ item.0.device }}
  15. -- unit kiB
  16. {{ lookup('template','parted_partitions_args.j2') }}
  17. with_subelements:
  18. - "{{ hard_disks }}"
  19. - partitions
  20. - name: set flags
  21. command:
  22. parted --script
  23. {{ item.device }}
  24. -- unit kiB
  25. {{ lookup('template','parted_flags_args.j2') }}
  26. with_items: "{{ hard_disks }}"
  27. - name: sync
  28. command: sync
  29. - name: reread partition tables
  30. command: partprobe {{ item.device }}
  31. with_items: "{{ hard_disks }}"