title: Ansible command to check the java version in different servers
body: <p>I am writing a Test case using ansible.There are totally 9 servers in which I need to check whether the installed java version is 1.7.0 or not?</p>
  
  <p>If it is less than 1.7.0 then test case should fail.</p>
  
  <p>Can anyone help me to write this Test case as I am very new to ansible.</p>
  
  <p>Thanks in advance</p>