Commit dff85b4c by ansible

no message

1 parent 2bf03ec4
Showing with 15 additions and 14 deletions
---
- hosts: all
become: true
tasks:
- file:
path: /tmp/source
state: absent
- file:
path: /tmp/configuration
state: absent
- file:
path: /tmp/application
state: absent
\ No newline at end of file
---
- hosts: FormatAppDisk
become: true
tasks:
# 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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!