mirror of https://github.com/ceph/ceph-ansible.git
Use parted module instead of command
parent
29d21303d7
commit
4f1e854c79
|
@ -9,7 +9,9 @@
|
|||
register: osd_partition_status_results
|
||||
|
||||
- name: create gpt disk label
|
||||
command: parted --script {{ item.1 }} mklabel gpt
|
||||
parted:
|
||||
device: "{{ item.1 }}"
|
||||
label: gpt
|
||||
with_together:
|
||||
- "{{ osd_partition_status_results.results }}"
|
||||
- "{{ devices }}"
|
||||
|
|
Loading…
Reference in New Issue