title: Ansible: Use Dynamic Inventory to get hostnames from a subnet
body: <p>I need to run an ansible playbook on some hosts all on the same subnet. </p>
  
  <p>However, I do not know what there hostnames are as they are always changing, however the subnet will remain the same. </p>
  
  <p>Is there a way to use dynamic inventory to find all the hosts on a given subnet? </p>
  
  <p>Thanks in advance! </p>