title: Ansible - How to check the physical memory and free disk is greater than some value?
body: <p>How to write an ansible task to check if the physical memory >=128 MB and free disk is >= 256 MB. i tried to get the output but i am not sure how to proceed further.</p>
  
  <pre><code># Check the physical disk memory 128 MB and free disk 256 MB
   - name: check the physical memory
     command: vmstat -s
     register: phy_mem
  </code></pre>