# LVM vg space in when statements

**URL:** <https://forum.ansible.com/t/lvm-vg-space-in-when-statements/35159>\
**Category:** Ansible Project\
**Created:** [May 12, 2021, 3:03pm UTC](https://forum.ansible.com/t/lvm-vg-space-in-when-statements/35159 "2021-05-12T15:03:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darryl\_Scott](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@Darryl\_Scott](https://forum.ansible.com/u/Darryl_Scott)\
**Post date:** [May 12, 2021, 3:03pm UTC](https://forum.ansible.com/t/lvm-vg-space-in-when-statements/35159/1 "2021-05-12T15:03:37Z")

</div>

I have searched the group but couldn’t find the answer to my problem.

I have a playbook that uses when clause for available space in volume group. I keep getting format errors when trying to run it. I have tried several different variations of the quotes in the statement but can’t seem to get it to work.
