This a module that controls the parted tools that help with device partitioning, collect their information, or save them as return values. The following example playbook shows how to remove a partition:
- name: remove a no longer needed partition
mount:
device: /dev/sdc
number: 1
state: absent