Commit db4e11ba by ansible

no message

1 parent 6d1f9e9f
Showing with 11 additions and 11 deletions
......@@ -2,17 +2,17 @@
- hosts: FormatAppDisk
become: true
tasks:
- name: Unmount
mount:
src: "{{ app_disk }}"
state: unmounted
# - name: Unmount
# mount:
# src: "{{ app_disk }}"
# state: unmounted
# Read device information (always use unit when probing)
- parted: device="{{ app_disk }}" unit=MiB
register: sdb_info
# Remove all partitions from disk
- parted:
device: "{{ app_disk }}"
number: "{{ item.num }}"
state: absent
with_items:
- "{{ sdb_info.partitions }}"
\ No newline at end of file
# - parted:
# device: "{{ app_disk }}"
# number: "{{ item.num }}"
# state: absent
# with_items:
# - "{{ sdb_info.partitions }}"
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!