Commit c796e001 by ansible

no message

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