filesystem
Collection: community.general
Full Name: parallax.community.general.filesystem
Aliases: community.general.filesystem, filesystem
Synopsis
Manage filesystem
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| dev | string | yes | Target block device | |
| fstype | string | yes | Filesystem type to create (e.g. ext4, xfs, btrfs) | |
| force | bool | false | Force filesystem creation even if one already exists | |
| resizefs | bool | false | Grow the filesystem to fill the block device | |
| opts | string | Additional options to pass to mkfs | ||
| state | string | present | State of the filesystem Choices: present, absent |
Example
- name: Example filesystem task
filesystem:
dev: <your_dev>
fstype: <your_fstype>