xfs_quota – Manage quotas on XFS filesystems¶
New in version 2.8.
Synopsis¶
- Configure quotas on XFS filesystems.
- Before using this module /etc/projects and /etc/projid need to be configured.
Parameters¶
Examples¶
- name: Set default project soft and hard limit on /opt of 1g
xfs_quota:
type: project
mountpoint: /opt
bsoft: 1g
bhard: 1g
state: present
- name: Remove the default limits on /opt
xfs_quota:
type: project
mountpoint: /opt
state: absent
- name: Set default soft user inode limits on /home of 1024 inodes and hard of 2048
xfs_quota:
type: user
mountpoint: /home
isoft: 1024
ihard: 2048
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors¶
- William Leemans (@bushvin)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.