Commit d7de5368 by ansible

no message

1 parent 75b5503f
Showing with 14 additions and 1 deletions
- name: Create Partiton "{{ app_disk }}"
- name: Remove all partitions from disk
# Read device information (always use unit when probing)
parted: device="{{ app_disk }}" unit=MiB
register: disk_info
# Remove all partitions from disk
parted:
device: "{{ app_disk }}"
number: "{{ item.num }}"
state: absent
with_items:
- "{{ disk_info.partitions }}"
- name: Create New Partiton "{{ app_disk }}"
parted:
device: "{{ item.device }}"
number: "{{ item.number }}"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!