diff --git a/roles/xfs_project_quotas/molecule/default/verify.yml b/roles/xfs_project_quotas/molecule/default/verify.yml index 6287e65..26368e5 100644 --- a/roles/xfs_project_quotas/molecule/default/verify.yml +++ b/roles/xfs_project_quotas/molecule/default/verify.yml @@ -6,6 +6,8 @@ any_errors_fatal: true tasks: - - name: Blank - ansible.builtin.command: echo + - 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"