Commit 894133ce by ansible

no message

1 parent d7de5368
Showing with 2 additions and 2 deletions
- name: Remove all partitions from disk - name: Remove all partitions from disk
# 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: disk_info register: "{{ app_disk }}"_info
# Remove all partitions from disk # Remove all partitions from disk
parted: parted:
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
number: "{{ item.num }}" number: "{{ item.num }}"
state: absent state: absent
with_items: with_items:
- "{{ disk_info.partitions }}" - "{{ "{{ app_disk }}".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!