Commit db4e11ba by ansible

no message

1 parent 6d1f9e9f
Showing with 11 additions and 11 deletions
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
- hosts: FormatAppDisk - hosts: FormatAppDisk
become: true become: true
tasks: tasks:
- name: Unmount # - name: Unmount
mount: # mount:
src: "{{ app_disk }}" # src: "{{ app_disk }}"
state: unmounted # state: unmounted
# Read device information (always use unit when probing) # Read device information (always use unit when probing)
- parted: device="{{ app_disk }}" unit=MiB - parted: device="{{ app_disk }}" unit=MiB
register: sdb_info register: sdb_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:
- "{{ sdb_info.partitions }}" # - "{{ sdb_info.partitions }}"
\ No newline at end of file \ 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!