Files
gitlab-mirror/roles/xfs_project_quotas/molecule/default/verify.yml
2025-12-24 11:47:56 +03:00

14 lines
364 B
YAML

---
- name: Verify
hosts: all
gather_facts: false
any_errors_fatal: true
tasks:
- name: Check XFS project quotas on /mnt
ansible.builtin.command: xfs_quota -x -c 'report -p' /mnt
register: xfs_project_quotas_quota_output
changed_when: false
failed_when: "'Project quota on /mnt' not in xfs_project_quotas_quota_output.stdout"