title: How do I compute statistics regarding hosts like OS version using Ansible?
body: <p>I want to obtain some kind of statistics regarding OS version or another property of the hosts in asible. </p>
  
  <p>Ideally I would like to obtain something like:</p>
  
  <pre><code>debian 8 - 10 machines
  debian 7 - 5 machine
  centos 7 - 1 machine
  </code></pre>