Ver código fonte

use kiB unit for output

master
pai
commit
3393444db4
1 arquivos alterados com 6 adições e 3 exclusões
  1. +6
    -3
      tasks/main.yml

+ 6
- 3
tasks/main.yml Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar