title: Only check whether a line present in a file (ansible)
body: <p>In ansible, I need to check whether a particular line present in a file or not. Basically, I need to convert the following command to an ansible task. My goal is to only check.</p>
  
  <pre><code>grep -Fxq "127.0.0.1" /tmp/my.conf
  </code></pre>