LVM vg space in when statements

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.