Explorar el Código

use kiB unit for output

master
padre
commit
3393444db4
Se han modificado 1 ficheros con 6 adiciones y 3 borrados
  1. +6
    -3
      tasks/main.yml

+ 6
- 3
tasks/main.yml Ver fichero

@@ -7,14 +7,16 @@
command:
parted --script
{{ item.device }}
-- mklabel {{ item.label_type }}
-- unit kiB
mklabel {{ item.label_type }}
with_items: "{{ hard_disks }}"

- name: create partitions
command:
parted --script
{{ item.0.device }}
-- {{ lookup('template','parted_partitions_args.j2') }}
-- unit kiB
{{ lookup('template','parted_partitions_args.j2') }}
with_subelements:
- "{{ hard_disks }}"
- partitions
@@ -23,7 +25,8 @@
command:
parted --script
{{ item.device }}
-- {{ lookup('template','parted_flags_args.j2') }}
-- unit kiB
{{ lookup('template','parted_flags_args.j2') }}
with_items: "{{ hard_disks }}"

- name: sync


Cargando…
Cancelar
Guardar