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.
# Check the physical disk memory 128 MB and free disk 256 MB
- name: check the physical memory
command: free -m
register: phy_mem