Files
gitlab-mirror/roles/xfs_project_quotas/molecule/default/verify.yml
Sergey Malyuk 502c2f6ded add verify
2025-12-24 11:28:56 +03:00

14 lines
326 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: quota_output
changed_when: false
failed_when: "'Project quota on /mnt' not in quota_output.stdout"