xfs_quota
Collection: community.general
Full Name: parallax.community.general.xfs_quota
Aliases: community.general.xfs_quota, xfs_quota
Synopsis
Manage user, group and project quotas on XFS filesystems
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | yes | The user, group, or project name to set quota for | |
| bhard | string | Hard block limit | ||
| bsoft | string | Soft block limit | ||
| ihard | string | Hard inode limit | ||
| isoft | string | Soft inode limit | ||
| mountpoint | string | yes | The XFS mountpoint to apply quota to | |
| rtbhard | string | Hard realtime block limit | ||
| rtbsoft | string | Soft realtime block limit | ||
| type | string | user | The quota type Choices: user, group, project | |
| state | string | present | State of the quota Choices: present, absent |
Example
- name: Cap the app user's space on the data volume
xfs_quota:
name: app
type: user
mountpoint: /srv/data
bsoft: 40g
bhard: 50g
state: present