title: Check Ansible version from inside of a playbook
body: <p>I have a playbook that is running in different way in Ansible 1.9.x and 2.0. I would like to check currently running ansible version in my playbook to avoid someone running it with old one. </p>
  
  <p>I don't think that this is the best solution: </p>
  
  <pre><code>- local_action: command ansible --version
    register: version
  </code></pre>
  
  <p>What would you suggest?</p>